IOS app real machine debugging and ios real machine debugging
IOS app real-machine debugging
Required: $99 account. You don't have to read it any more.
First, log on to http://developer.apple.com/devcenter/ios/index.action. if you have purchased the iPhone Develop Program (iDP), you will see the page shown in the upper-right corner of the page:
Click the first entry: iOS Provisioning Portal, and the following page is displayed:
Click to enter Certificates and you will see the following page:
Click here to download now in the figure, which downloads an AppleWWDRCA. cer file, which is a required file for debugging and publishing iOS apps. This file only needs to be downloaded once. Even if you have multiple iDP files, whether it is a debugging program or a publishing program, you only need one. If you have already downloaded it, you do not need to download it again.
After the download, double-click the file and it will be installed on your machine. Then open the Keychain Access, and the Chinese name is the key string Access. Then you will see the following page:
This indicates that you have already installed it.
Next, we open the key string access menu, such:
This will open the page as shown in, and fill in the content as shown in the figure:
Click to continue:
Click storage:
Then, click Continue. A CertificateSigningRequest. certSigningRequest file is generated on your desktop.
Then, click the Request Certificate button in:
The following page is displayed:
Click Select File, select the created CertificateSigningRequest. certSigningRequest file, and then click Submit.
As shown in, your certificate is in Pending status. Refresh the page and it is in the following status:
Click Download To get a file named pai_identity.cer. Double-click the file and check your key string for access. The following result is displayed:
Remember, you should be able to see the key-like things shown in this case. If not, debugging is impossible.
Next, open the Devices item and go to the page shown in:
Click Add Devices in the upper-right corner. The page shown is displayed:
Name your Device. For example, for iPhone, the Device ID is the Device's body number (40 digits). The body number can be obtained through the Organizer in the window menu of Xcode. After entering the information, click Submit.
A $99 account can be bound to 100 mobile devices.
Next, click App IDs, and the page shown in is displayed:
Click the New App ID in the upper-right corner. The page shown in is displayed:
After entering the information, click Submit.
Note: In the Bundle Seed ID column, Apple provides the Team ID concept. If you want to share a key string with other applications, you can select an existing Bundle Seed ID.
Click Provisioning. In this step, the above development devices, mobile devices, and applications are bound together, as shown in the following page:
Click New Profile in the upper-right corner. The page shown in is displayed:
After entering the information, click Submit.
Then, click Download In the list. Then, you will get a JXT. mobileprovision file, which will be installed in your mobile phone.
Open the Organizer in the window menu of Xcode and add the JXT. mobileprovision file to Provisioning.
When you open your device, you will find something in the Settings> General> description file, that is, your certificate. Double-click the JXT. mobileprovision file, and your Xcode will be activated. Check the Users \ User Name \ Library \ MobileDevice \ Provisioning Profiles and add one more
XXXXXX-XXXXXX-XXXXX-XXXXXX.mobileprovision file.
Next, open your project, open the plist file, and change Bundle identifier to com. aurora. jxt.
Then, open the project info and set it as follows:
If the item you want to select is gray, some of your previous processes may have problems.
Then, set the Targets info as follows:
Finally, select Device Debug and Build.
Connect to the mobile Device. Open the Organizer in the window menu of Xcode. If the mobile Device is connected, the corresponding Device is displayed in the Device. Click Use Device for Develop, you can select the corresponding Device in the Device and view the registered provisioning file under the Device.
The version of the iPhone SDK must be the same as that of the real machine. if the version is incompatible, devices cannot be found.
For iOS development, You can debug the real machine. The appid used to log on to the device for debugging is not affected.
For ios real machine debugging, You need to register a developer account, connect the real authority that needs to be debugged to your developer account, generate a certificate, and download it to your computer.