IOS emulator files and SQLite storage locations

Source: Internet
Author: User

Environment: OSX 10.8.3 XCode4.6 (4h127)
When developing iphone and ipad apps, it's often necessary to use XML files and SQLite databases.

When debugging, we need to look at the contents of the XML and the data of the database. But these things are inside the simulator. We need to find where they are stored and use the appropriate tools to open the view.

The general location is as follows:

User (current user)/library (Chinese: Resource library)/application Support/iphone simulator/

After opening, you will find a 5.0,5.1,6.0,6.1, which corresponds to the currently selected emulator version of Xcode.

After entering the corresponding version, there will be related folders such as application,media,library of the current emulator. The folder named in the application GUID corresponds to each app in the emulator, and after that, there will be folders like Documents,library, and the files we have copied are inside.

Sometimes, however, these libraries and application support are not found because the system is hidden. We can perform the following command under the terminal to show it.

Show Commands:

Help
1 Chflags Nohidden ~/library

Hide command:

Help
1 Chflags Hidden ~/library

IOS emulator files and SQLite storage locations

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.