I. Application
1. Go to the IOS Developer Center
Http://www.apple.com.cn/developer/ios/index.html
2. Click Log On.
Enter the user name and password (premise: there is already an Apple ID and it takes $99 to develop)
3. After logging on, select the IOS provisioning portal on the right side of the page.
4. Go to the provisioning portal page and click app IDs on the left to apply for app IDs.
5. Create an appIDs, click the new app ID button on the right
6. Go to the application page.
Note: The app IDs cannot be deleted after registration, so use the name with caution.
Enter the description of APP IDs in the first column, for example, demo for Weibo.
Select a team ID, for example, 6kwj5zbub8.
Add an application in the third columnProgramFor example, Com. Test. demo.
Click the submit button to complete the application.
After the application is completed, the 6kwj5zbub8.com. Test. Demo ID will appear in the description item. The following describes the demo for Weibo
7. Click the provisioning item on the provisioning portal page to configure the certificate.
Click new profile under the Development tab to configure the development certificate. (If you want to publish to the App Store, select the distribution tag)
8. Enter the development certificate configuration page
In the first column, enter the name of the Certificate file, for example, testcert. The name of the generated Certificate file is suffixed with testcert. mobileprovision.
In the second column, select a Certificate Name.
In the third column, select the description of the app IDs, for example, demo for Weibo.
In the fourth column, select the iPhone ID to be developed, for example:"User" iPhone (after you connect your phone to your computer, you will be able to see this identifier)
To use this certificate for all development mobile phones, click the Select All button above. You can use this certificate for development on a maximum of 100 mobile phones.
Finally, click the submit button to submit
9. A testcert item will appear under the Development tag. Click Download to download the certificate.
Ii. Use
1. Connect the iPhone device identified as "user" to your computer
2. Double-click the downloaded xiaodaocert. mobileprovision file.
In xcode's organizer-devices, a new testcert certificate is added.
3. Create a helloworldtest project in xcode and debug the device: select a real machine, such as the "user" iPhone.
4. Change the bundle identifier column in The HelloWorldTest-Info.plist file to the unique ID entered when applying for the certificate, such as the com. Test. Demo
5. Click the helloworldtest project bar, select the build settings tab, select the code signing identity item for code signing, select debug, and select the certificate named testcert in the next item of any ios sdk.
6. debug and run. You can see helloworld on the real machine.