0. First use the developer account to log in to the site https://developer.apple.com
About the developer account is divided into three kinds: individual, company, Enterprise, how to become the company or Enterprise account, please Baidu
1. Get the root certificate file:Applewwdrca.cer
Get steps: Certificates------"Development------"--------"worldwide Developer relations Certificate Authority Click to download the file
2. Getcertificatesigningrequest.certsigningrequestfile
Get steps: Double-clicking the Applewwdrca.cer file will automatically open with Keychain access software,
selected Apple Worldwide Developer Relations Certification Authority
Keychain Access-------Certificate Assistant----------Request a certificate from a certification authority ...----------
Enter user e-mail address: Common name: request is: Select Save to Disk | Let me specify key pair info----------continue---------save to get a CSR file
Graphic:
3. Upload the certificatesigningrequest.certsigningrequest certificate file and download the Ios_development.cer certificate file
Operation steps: Certificates-------"Development---------" +--------"select Type (Choose file) select. Cersigningrequest upload------" Request--------"Generate---------" Download (Ios_development.cer certificate file available )-------Double-click the certificate to load it into keychain access
4. Create an app ID
Operation steps: Identifiers-------"app ids------" +-------"enter app ID Description------" Enter explicit app ID---->continue
5. Add a device
Procedure: Devices----> IPhone---> +------> enter name, UDID (phone connected to PC, open xcode----->window------->devices----- > Identifier value)
Graphic:
6. Create Profile XXX. Mobileprovisionand Download
Procedure: Provisioning Profiles-------> Development-----------> +-----------> Select App ID------->select Certificates------> Select devices. ----->name this profile and generate.---------> Download (xxx.mobileprovision)----------> Xcode7 is to double-click the profile to load the configuration file into Xcode
Graphic:
At this point about the configuration is finished, the total production of 4 files:
7. Create Project, modify Bundeidentifer, Code singing, select the real machine and run the project
Operation Steps:
① Modify the Bundle identifer in the info.plist , and then clean up the project, you can see General The Identity-->bundle identifer value changes and then modifies the general ------->identity------->team
② General----> Deployment Info--------> Deployment Target
③ Build Settings---> Code Signing identity:iphone developer:xxx (xxxx)
④ Select the real machine and run the-----"
Graphic:
Some nouns in this article refer to the article: Http://www.jianshu.com/p/21ebca8cadf6
At this point the real machine test is all over, I wish everyone success!
Detailed steps and illustrations for iOS real-computer testing