1. main file Comment
2. Main function configuration
3. Appdelegate Default Code
1) in the APPDELEGATE.M file
-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
2) Application:didfinishlaunchingwithoptions: Modify path of default code within method
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application/Empty Application.xctemplate/TemplateInfo.plist
3) Sample Settings file
4. Custom Code Snippets
5. Empty template
6. Add SDK Version
7. Add Simulator version 7.1 Simulator add
1) in Xcode5 and earlier versions, installing the emulator SDK is equivalent to installing the emulator. Xcode emulator SDK File storage path
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
2) in Xcode6 and later versions, the new version of Xcode does not recognize the emulator in the SDKs directory and requires the emulator file to be placed in this directory
/Library/Developer/CoreSimulator/Profiles/Runtimes/
This directory is the root directory, not in the directory of Xcode and User, and unlike the previous version of the emulator, the new version of the emulator is a simruntime suffix package file. The version of the SDK file will still be created when the new Xcode software is installed, and the corresponding Simruntime file will not be created.
3) If you encounter an issue with an emulator version number showing an exception, for example, simply delete the extra version of the emulator in the Devices of Xcode.
4) Each version of the Xcode simulator, password: x9pt.
7.2 Simulator Path
1) in XCODE5 and previous versions, Xcode's emulator path is
~/Library/Application Support/iPhone Simulator/
- Under this folder, you can view all the emulator versions, and then click inside to see the app sandbox situation.
In development, it is recommended that you drag the file shortcut path to the left-hand side of the Finder to easily open the View app sandbox.
2) in the Xcode6 and later versions, the location of the simulator has been changed, the address is as follows
~/Library/Developer/CoreSimulator/Devices/
When opened, you will find the following: In this case, Apple encodes the simulator, not the name and classification of the emulator system version, but rather the Xcode6 of all the emulators in the Xcode6, which correspond to the different simulators in the file.
When a file is selected, open will see a folder named Data, and Device.plist configuration file, after opening the Device.plist profile, you will see the emulator UDID, device type, system version, name and so on. This allows you to know the device and system version of the simulator. Open, will find that the front of the seemingly garbled file name, is actually the simulator device UDID, although from here can get simulator UDID, Apple also use it to carry out classification simulator, but in the actual programming, if you want to finally publish to the APP Store, or give up UDID bar, This is also a more overbearing apple, of course, is also in the protection of the privacy of users to make.
7.3 Simulator Application Sandbox
1) in XCODE5 and previous versions, the sandbox path is as follows:
~/Library/Application Support/iPhone Simulator/5.0.0/Applications/
Under the Applications folder, you will find the application sandbox. After you open the app sandbox, there are application files, document folders, Library folders, and TMP folders.
2) in Xcode6 and later versions, the application file, document folder, Library folder, tmp folder, these four files are placed in different directories.
Application file path:
~/Library/Developer/CoreSimulator/Devices/模拟器 UDID/data/Containers/Bundle/Application/
Document, Library, tmp folder path:
~/Library/Developer/CoreSimulator/Devices/模拟器 UDID/data/Containers/Data/Application/
Unfortunately, the two paths open file name, or encoded, and, the application in the same application file and the document, Library, TMP folder folder in the folder file name is different, can only find their own.
7.4 Emulator app Nsuserdefault file storage
Nsuserdefault is a localized data storage method provided by IOS that automatically creates a. plist configuration file in the sandbox, saves the data, and receives it in a nsdictionary dictionary when it is read.
1) in XCODE5 and previous versions, the specific path is
~/Library/Application Support/iPhone Simulator/7.0.3/Applications/模拟器 UDID/Library/Preferences/
Under the Preferences folder, the name is the plist file for the program Bundle Identifier. After you delete the program in the emulator, the plist file in the Library folder is deleted accordingly.
2) in Xcode6 and later versions, the specific path is
~/Library/Developer/CoreSimulator/Devices/模拟器 UDID/data/Library/Preferences/
Through the above path can be seen through the Nsuserdefault created by the Plist folder or under the Library file, but the difference is that the actual location of the change, into the emulator's database folder, such a change in the changes are, When we delete an application in the emulator, the plist file is still preserved and will not be deleted.
8. Add offline Documents
1) Offline document storage path in Xcode
/Applications/Xcode.app/Contents/Developer/Documentation/DocSets/
2) Xcode offline documentation
3) Apple's latest document
9, Real Machine Devicesupport
10. Xcode Theme Configuration
Ios-xcode Common Settings