Alex Rivera | Logout

iPhone - Where is the [NSUserDefaults standardUserDefaults] file stored on the computer?

Asked 2011-03-23T10:27:19.837
9

When running an app on the iPhone (for example when you can do it in another way testing some GPS or camera feature), where can I find and check the file created by NSUserDefaults to save the standardUserDefaults ? I'm running XCode 4.

Edit
Report

1 Answer

6

The user defaults file for applications started in the simulator are located here:

/Users/[USERNAME]/Library/Application Support/iPhone Simulator/4.3/Applications/[UNIQUE IDENTIFIER]/Library/Preferences/APP_ID.plist

The USERNAME is the user you run as on your system.

The UNIQUE IDENTIFIER is generated by Xcode.

APP_ID is your com.yourcompany.app bundle id.

answered 2011-03-23T11:49:37.830

Your Answer