[IOS development-74] solution: In Xcode6, preference is used to save data. Where is the final plist file ?, -74xcode6

Source: Internet
Author: User

[IOS development-74] solution: In Xcode6, preference is used to save data. Where is the final plist file ?, -74xcode6

(1) symptom: Generally, data is stored in a sandbox. preference data is stored in the Library/Preferences under the sandbox path, but there is nothing to find in Xcode6.



(2) cause: Xcode6 and Xcode5 are adjusted in the simulator folder path.


(3) preference files of Xcode6 are stored in a folder called Preferences, which contains many preference plist files.

The path to this file is/Users/your user name/Library/Developer/CoreSimulator/Devices/simulator UDID/data/Library/Preferences.



(4) Extension: As we mentioned above, the sandbox paths under Xcode6 are different from those before. Fortunately, we can find the paths through NSHomeDirectory.

See: http://blog.csdn.net/tmweipan/article/details/39761939 for detailed analysis

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.