Before Xcode7, want to debug the real machine, must spend 99 knife purchase developer account, and the steps cumbersome, need to download the certificate. With the introduction of XCODE7, the process of real-machine debugging has been greatly simplified, which is a great benefit for iOS developers and many yards that are learning iOS development.
Preparatory work
1. An Apple ID
2. An iOS APP (the Xcode number is already in use and the emulator works correctly)
3. An iphone
Steps
1. Enter Xcode, select Xcode–> Preferences on the menu bar, and add your own Apple ID on the Accounts tab, such as:
2. Add a signing certificate to your Apple ID and select account –> View details–> to create a signing certificate, such as:
3. Set the team,genernal–> team–> Apple ID for the app project (the Apple ID you just added), such as:
4. Connect the phone to the Mac computer and set the project's running device to the iphone in Xcode. Such as:
5. Click Run, set the trust of the Apple ID in the phone, in the phone general-purpose device management inside
6. Run the project again to debug the project in the iphone
"IOS" Xcode7 above certificate-free true machine debugging