If you do not know the developer certificate, APP ID, configuration file please read this blog first:
Description of certification,appid,provisioning Profiles in iOS development (graphic)
After understanding these tedious nouns and their effects, let's look at how to make a certificate and a configuration file and then perform a real-machine debug:
One, the native certificate generation
1, open the keychain, the top status bar
2. Fill in the information
3, fill in and continue to save the certificate
4. Find the certificate you just saved
Second, login to the developer center to apply for development certificate, APP ID, add test equipment, build configuration file
1. Login to the Developer center
2, click on the Show
3. IOS Apps
4. New Certificate
5, click on the plus icon. Enter the following page, the Real machine debugging options under development, there are two, one with push, one does not. Pick the point below to continue, then continue
6. Upload the certificate that you just generated in the native keychain
7, download the certificate just generated online
8. Double-click the certificate and add it to the keychain
See if the certificate has been added to the keychain
9, connect the device, open Xcode, status Bar Select Windows-organizer dialog box, copy the device's Udid
10, then the browser to enter the following page, click on the upper right corner plus add device
11, enter the device name and Udid, the device name casually write, recommend "yourname iphone" so write, good identification. Fill it out and continue.
Once added, make sure you have the device you just added in all your devices.
12, register the app IDs, click on the upper right corner plus add
13. Fill in the information as required
The following two options, one is dedicated, one is universal (with wildcard *), the recommended wording "com.companyname.*"
14, optional, optional, with push the need to check the push notifications
15. Confirm and correct, submit
Confirm if you have the app ID you just created
16, create the corresponding configuration file provisioning Profiles, upper right corner plus add
17. Select the app ID you just created
18, select the certificate, can be selected all
19, select the device, can be selected all
20. Take an easy-to-identify name for the authorization file and download it:
21, double-click the installation, after installation to see if the installation is successful, the green small tick indicates that available
22. Configure the value of Xcode,bundle identifier to be the same as the app ID. If it is created, it is "com.apple.*". Here, write "Com.apple." *“。
23. Select Configuration File
24. Select your device to run
If it is not successful, re-create the configuration file profile. Repeat the above actions
iOS development-Real-computer debugging steps (Detailed graphic fool edition)