--This article is intended for real-computer debugging in iOS development and is not a very skilled little partner.
1. Enter https://developer.apple.com/, for example, click Menber Center, then a login box will pop up and login to your developer account.
For example, click on the certificate (click Content)
Then, for example, click any item in the red box
2. Add your debugging equipment (the general number of devices do not reach the limit of account requirements, otherwise, once the device disnable can not allow it to enable it), such as, first click on the device under all, and then point after the + number
Then enter your device's name and Udid (Udid get the method such as, connect your device to the computer, and then open your itunes can see), followed by the click on the continue on it.
3. Create the App ID. Similar to adding a device, click on the app IDs below identifiers, then click on the + sign in the upper right corner. Then enter your Buddle ID (can be arbitrarily taken, but the project to be consistent with this, when running the prompt) and then follow the prompts to click on the continue on it.
4. Create a developer certificate
First get the native SCR file, steps such as, open your key, and then follow the red box prompt.
Then refer to the method of creating the app ID, first click on the certificates below the development, and then click on the upper right corner of the + sign, and then tick the option (only two development certificate for an account, if there are two, you can no longer continue to create the certificate).
Then follow the prompts to load the SCR file you just generated, click on download to download the certificate before clicking Done.
5. Create a provisioning profiles reference to the steps above to create the certificate, where the certificate and the device are all selected.
6. Install the newly downloaded certificate and provisioning file (double-click), if you want to use for other machines, you have to export the certificate into. p12 format, and then send it to the provisioning file.
7. Open your project file and replace the Green box option below with the installed provisioning file (for this first), the green one above for the installed certificate (remember to change it all).
8. Link your device, run. If you report two red errors, follow the prompts to change the Buddle ID name of the. plist file, then clear (command+shift+k) and run again.
If there is a problem, welcome private messages, Thank you!
iOS real-Machine debugging process