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