Reprint Please specify Source:http://blog.csdn.net/dengbin9009/article/details/43970059
In the previous article, I said how to create an app ID from a developer site, add a device, create and download a development certificate, create and download a profile, see: About iOS Developer Account feature summary-Real machine debugging (a).
In this article you will describe how to take advantage of the download number of the certificate CER file and the configuration file mobileprovision.
In the previous article we have downloaded the certificate and configuration file to the desktop, but for the virginity of the Mac (author Virgo), two files have been put into a specific folder. For later search.
First, install the certificate and configuration file
Here the so-called installation, in fact, I can not find a better word to describe this step, because only need to find the two files, and then double-click them.
Second, Xcode matching certificate
1. Open our Xcode, select our program, select Engineering---general.
2. Fill in the bundle identifier with the app ID created in the previous article: Com.dengbin.goodman.
3. Maybe you can see a warning under the team that there is no matching provisioning profiles found (no, it doesn't matter). This warning indicates that the bundle identifier is not matched in our profile, so let's go to the developer Center to download it again. But wit we have done this step in the previous article introduction.
4. Select the configuration file and then select the certificate.
5. The phone is connected to the Mac, select the device (must be the device you just added or previously added udid), finally commad+r, Running!!!
Summary : To use the real machine debugging must have the following conditions:
- Developer Certificate One
- iOS device One
- APP ID One
- Match the App ID certificate one
- Match the certificate, the APP ID and the device configuration file one
About iOS Developer Account function Summary-Real machine debugging (ii)