• Main steps for real machine commissioning 1. Login to the Developer Home Page 2. Generate CER Certificate: CER is a certificate file associated with a computer that gives the computer the ability to debug with a real machine 3. Add app ID: What apps are you debugging? 4. Registering a real-machine device: Which device needs to do real-machine debugging? 5. Generate a Mobileprovision file: Combine 2, 3, 4 to generate a mobile phone rule file 6. Import cer, mobileprovision file · You'll end up with 2 files. øcer file: The function of making the computer debug Ømobileprovision file: Which device, which app, which computer needs to do the real machine debugging?
Step 01 of real-Machine debugging-Login to developer homepage• Login to Developer homepage
Https://developer.apple.com/membercenter/index.action
• Manage Certificates (prerequisites: Spend 99$ or 299$ to join the developer program)
Step 02 of real-Machine debugging-Generate a CER certificate
Step 02 of real-Machine debugging-Generate a CER certificate
Step 02 of real-Machine debugging-Generate a CER certificate
Step 03 of real-Machine debugging-add app ID
Step 04 of real-Machine debugging-registering a real-machine device
Step 04 of real-Machine debugging-registering a real-machine device
Step 04 of real-Machine debugging-registering a real-machine device
• Fill in the device name and unique identification
Step 05 of real-machine debugging-Generate a Mobileprovision file• Add mobileprovision file
Step 05 of real-machine debugging-Generate a Mobileprovision file• Select App ID
Select CER certificate
Selecting a real-machine device
Step 05 of real-machine debugging-Generate a Mobileprovision file
• Fill in the Mobileprovision file name
Download mobileprovision file
Step 06 of real-Machine debugging-Import CER, mobileprovision file• After a few previous steps, you've got 2 files
Double-click Import CER file (you can open the keychain to confirm that the certificate is valid)
Step 06 of real-Machine debugging-Import CER, mobileprovision file
Double-click Import mobileprovision file (open Xcode, connect to the real machine)
• Open any program, select the real-time setting, click Run (the first run will appear on the right)
Replace the old debug certificate
Sometimes you need to replace the old debug certificate configured in the project