How to add a real-computer-debugged iOS device

Source: Internet
Author: User

How to add a real-computer-debugged iOS device

Note the point:

Sometimes need to agree with the agreement or something, many times the refresh is white screen, the solution:

I found a solution to the problem of not confirming the new protocol: After landing, directly in the browser's address box access: https://developer.apple.com/membercenter/ Mcupdateagreement.action, such as content appears, tick, and then click "I agree" can, a little bit of a problem: "I agree" is not a button or link, but can click. This page is to visit "https://developer.apple.com/membercenter/index.action#updateAgreement" when the page embedded, do not know whether the network is bad, or the reason for the timeout, It is difficult to display successfully when embedded.

I hope to make it easier for other developers to meet the same problem.

2. About the *.mobileprovision file, you must double-click the file to add to Xcode, Direct drag is not !!!!

1. Authorized Equipment:

Go to the Apple Developer Member Center and click on the iOS Provisioning Portal in the diagram to access the Developer Licensing Setup system:

In the Settings screen, you can choose to run the wizard by tapping the assistant at the bottom of the page:

Click on the device on the left navigation, go to the Authorized Devices page, click the Add Device button on the top right to add a unit:

When adding a device, you can specify the name of the device (write it casually) and the udid of the device. Each Apple device has a unique identifier, and the way to get this identifier is simple, in two ways:

(1) Connect your device to your computer, then find your device information in itunes (e.g.), click on the location of the red box in the image, and the device Udid will be displayed. Right-click Udid will prompt the copy, copy of the results copied into the box;

(2) Open xcode,window→organizer→devices, you can see the identifier information inside

2. Add App ID:

Click the App IDs button on the left navigation to go to the Application ID configuration page and click on the new App ID button on the right side of the page to add an app. This ID corresponds to the application that will be developed and tested. For example, add a name for a single app in description (no special characters are supported), and then fill in the bottom bundle Seed ID with a string containing the domain format (such as Com.bo.test). Bundle Seed ID is a collection of developer and application information in the format (com.[developer].[ Apply]), which can be specified as a single app or as a full app. In the case of a single application, it is recommended that the description just filled in is the same as the last item of the bundle seed ID (such as Test and com.bo.test), and if it is all applied, the bundle seed ID:com.bo can be used.

3. Add a Certificate:

(1) First generate a developer certificate on your Mac computer:

Open Keychain Access manually in Applications->utilities. Follow the action and finally click on "Request a certificate from a certification authority"

Fill in your mailbox and name correctly, select "Save to Disk" and click Continue. A file named "Certificatesigningrequest.certsigningrequest" is eventually generated.

This time back to the iOS Provisioning Portal Web interface, click on the left "Certificate", click on the page to the right of request Certificate request a certificate, Then click the button at the bottom of the page to upload the generated certsigningrequest file, thus completing the application process for the certificate. After the successful application, the Certificate page has a certificate, refresh a few pages after the status of the certificate becomes issued, click the download button can download a CER file.

4. Use the developer authorization:

(1) Back to the iOS Provisioning Portal Web interface, click on "Provisioning" on the left, click on the New Profile button on the right to create an authorization file:

Fill in the Profile Name, select the certificate you just created in certificates (once and for all, then just tick the certificate, no need to add it manually); APP ID Select the one you just built; Devices Select the device you just added ; Submit (bind device to application); Refresh the page and you'll see a download behind the one you just built, click Download, and download a. mobileprovision file.

(2) Open Xcode→window→organizer, drag the downloaded. mobileprovision file to provisioning (this step binds the device to the application and generates the certificate)

(3) plist file in the project, change the content of bundle Identifier to bundle Seed ID (format: com.[developer].[ Application]) can be

Select the device on the right side of the Run button as the corresponding real machine device, then compile and run to see it!

How to add a real-computer-debugged iOS device

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.