XCODE6+IOS8 latest Real-Machine debugging tutorial

Source: Internet
Author: User

XCODE6+IOS8 latest Real-Machine debugging tutorial

Label:

Introduction: As we all know, Apple's security has always been very high, leading to the threshold of iOS development relative to Android, a lot more, it also led to the current iOS senior engineer has been a scarce resource. Today we are going to talk about Apple's real machine debugging .

Apple's real-computer testing is a lot more complicated, and the main thing is that you need to spend 99$ to buy Apple's developer certification, other conditions are:

    • A test phone or pad
    • A computer equipped with an Apple system

Specific steps:

      1. To the official website https://developer.apple.com/, click Member Center, log in with the account and password you just purchased, you will see the interface as shown below:

      2. Click on the first column, the second icon (Certificates,identifiers & Profiles) to the following interface:

      3. Click on any of the children of iOS apps, as shown in the following screen:

      4. Click on the certificates below, and the right half will appear as shown above, then click on the + sign in the upper right corner to jump to:

      5. Pull the interface down and you'll see:

      6. Click the Blue Font World Developer Relations Certificate Authority, the following file will be downloaded: Applewwdrca.cer file

      7. Double-click the file to open the following interface and realistically install the Apple Worldwide Developer relatios Cer .... certificate

      8. After installation, under key channeling access, select certificate processing, request a certificate from a certification authority

      9. Click .... After requesting the certificate, skip to the following interface:

      10. Fill in the following:

      11. Click Continue, continue all the way down, and finally generate the following files on the desktop: certificatesigningrequest.certsigningrequest

      12. Well, the first phase has been completed, and in the second phase, the next step is to use our mobile device for commissioning, the commissioning computer, the debug app, and the purchased account information to be bundled together to generate several certificates for Xcode and mobile device recognition for real-time testing.

      13. Once again, reach the following page:

      14. Select the iOS App development in development and click Continue

      15. Continue to click on continue to know that the following interface appears:

      16. Click chose file to upload the files that we just generated under the re-key access and click on the following screen generate

      17. Click on the claim and jump to the following screen, click Download

      18. After clicking Download, the following files will be downloaded: Ios_development.cer then double-click Install

      19. Add your own device to the developer account, click Devices, and then click the + sign in the top right corner

      20. After clicking to enter the following screen, give your device a name (whatever), the following udid fill in the udid you want to test the real machine

        Here is the test equipment Udid Search method: Open itunes, with the mouse click on the location of Ecid can see Udid.

        As shown below:

      21. Create a new Application ID: Click Identifiers, click the + sign in the upper right corner to the following screen:

        In the name out fill in the app ID description, generally is casually write, always pull down, fill in the following location your app ID, the format is generally COM. ., other default, click Continue,submit

      22. Bind app Mac phone and developer account: Click Provisioning Profiles, then click the + sign in the upper right corner to the following page

      23. Select iOS app development, then click Continus and select the App ID you just created on the following page, click Contine

      24. After completing the previous step, jump to the following page, bind the Mac, select the certificates just generated, click Continue

      25. Select the bundled phone, click Continue

      26. Give him a name, click Generate.

      27. Jump to the following screen, download for later use


      28. OK, so that all the operations on the account are completed, the next only need to be configured on Mac locally, first with Xcode open

      29. Open as shown

      30. Enter the following screen, right-click on the device

      31. Click on Show provisioning profiles to enter the following screen

        Click on the + sign to add, will just down the following file, add in:


        After adding, we are only the last step, we can debug the real machine

      32. Open the project's plist file and change the non-bundle identifier in the right-hand table to the COM we just set. . (My com.ljw.helloworld just now)

      33. OK, we're done, we can finally have a happy real machine debugging

XCODE6+IOS8 latest Real-Machine debugging tutorial

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.