iOS – Documents folder location by jailbreak loaded

I test my application on a jailbroken iPhone. In my code, I use [NSUserDefaults standardUserDefaults].

I connect My application is placed on the phone, so it does not generate a folder in /var/mobile/Applications. If the application is there, any use of NSUserDefaults will create a .plist in the “Documents” folder. Because of me The application does not generate this folder, I cannot find the .plist.

Where is the Documents folder of the jailbroken application uploaded via SSH (in .app, NOT .ipa)?

OP asks about the preference folder where NSUserDefaults are stored. Assuming your app is running as a mobile user, Please check /var/mobile/Library/Preferences/.

(Documents folder is another matter, located in /var/mobile/Documents)

Please note , Starting with iOS 8, these plists are cached in the memory of the cfprefsd daemon, so unless you terminate this daemon, overwriting files in this folder will not work.

For more information, See http://iphonedevwiki.net/index.php/Updating_extensions_for_iOS_8#Preference_saving

I test my application on a jailbroken iPhone. In my code, I use [NSUserDefaults standardUserDefaults].

I put my application on my phone via SSH, so it will not generate a folder in /var/mobile/Applications. If the application is in There, any use of NSUserDefaults will create a .plist in the “Documents” folder. Since my application does not generate this folder, I cannot find the .plist.

The jailbroken application uploaded via SSH Where is the Documents folder of the program (in .app, NOT .ipa)?

OP asks about the preference folder where NSUserDefaults is stored. Assuming your app is running as a mobile user, please check /var/mobile/Library/Preferences/.

(The Documents folder is another matter, located in /var/mobile/Documents)

Please note that starting from iOS 8, these plists are cached in cfprefsd In the memory of the daemon, so unless you terminate this daemon, overwriting files in this folder will not work.

For details, see http://iphonedevwiki.net/index. php/Updating_extensions_for_iOS_8#Preference_saving

Leave a Comment

Your email address will not be published.