Original http://www.th7.cn/Program/IOS/201407/233103.shtml
1: Go to the Apple Developer Portal
2: Enter member Center
3: Enter the developer account and password
4: Choice: Certificates, Identifiers & Profiles
5: Select Certificates
6: Click the plus sign to create a certificate
Certificate is divided into two kinds, development development certificate, production publish certificate
Test the use of the issuing certificate
Then select Next
7: Upload CSR file
Open Keychain
Requesting a certificate through the certificate assistant
Fill in the corresponding information, select Save to Local can
Uploading files
Create complete
8: Download and install the certificate
Click Download to download the certificate and double click to add it to the keychain
(If an error occurs when you double-click Add, drag the file directly into the keychain)
At this point, you can see the certificate you just created in the list
9: Add App ID
Fill in order
Description of App ID (can be written casually)
Prefix of App ID (System already filled in)
Suffix of App ID
There are two options
First option: an explicit app ID corresponds to the bundle identifier in the project
If you plan to add the app to game Center, or use in-app purchases in your app, do data protection, use icloud, or want to give your app a unique profile, you'll have to apply for the explicit app ID.
Format: Com.companyName.appName
Second option: Universal App ID
Can be used in all apps that don't need an explicit ID
Format: com.companyname.*
Fill in the required services:
Then submit, and you can generate the app ID
You can find the app ID you just generated in the list.
10: Add Device
Name: Description of the device
UDID: Marking of equipment
Connect the device to your computer, go to Xcode, and copy the number to the corresponding location
Click Submit to finish.
11: Application Description File
Select development mode and click Continue
Select the app ID you just requested
Select Developer Certificate
Select Device
A name for the description file. Complete the creation and download.
12: Configure Xcode
Double-click the description file that you downloaded in the previous step
Open your project in Xcode, modify the bundle ID and the information in code signing
13: Run the program
14: Export the P12 file (authorize other computers to perform a real-machine test)
Open the Keychain and export the P12 file
Copy the P12 file with the provision profile and the certificate to another Mac and double-click the installation to use it.
iOS Learning-----Real-computer testing process