Where the hell is the Xcode simulator? Where did my app go? Xcode related paths that programmers need to know

Source: Internet
Author: User
one.

Developing iOS will inevitably involve dealing with this guy Xcode. Usually we debug their own app, the most commonly used is the simulator simulator, when debugging, our app will automatically be Xcode installed into the simulator, but: you know where the simulator this guy is. What is the directory structure inside the simulator? your app is installed in which directory of the simulator. What is the structure of your app?

Don't read the document, just take a quick look.

The directory of the simulator is here

/users/your current login username/library/application support/iphone simulator/

Your app is Xcode build here:

/users/the username you are currently landing/library/developer/xcode/deriveddata/yourprojectname_somethingsomething/build/products

Two.

Sometimes when you develop debugging, you need to look at the files that are applied in the real machine, such as SQLite, and you can follow these steps:

Environment: XCODE 6.4 English edition, IPhone6

1) Click on the window above Xcode select devices, open the equipment at a glance.

2 Click on the left device list, above is the real machine, the following is the simulator, where the ID of the simulator is used to confirm the simulator folder location

3 Click on the real machine, you can see the real machine based on the current Xcode developers to install the sandbox program (do not jailbreak can not see other developers of the program)

4 Click on the screen below the download Download button, the application data download to the Mac, generate a. xcappdata file, the content structure inside similar to this

5 Right click on the. xcappdata file, select Show Package Contents view the package content, you can see the real machine application data file, this position points to the system Nsuserdefault, So some people say that this class can be used to store the login password is wrong

Category: iOS development good text to the top of my attention

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.