Detailed steps and illustrations for iOS real-computer testing

Source: Internet
Author: User

0. First use the developer account to log in to the site https://developer.apple.com

About the developer account is divided into three kinds: individual, company, Enterprise, how to become the company or Enterprise account, please Baidu


1. Get the root certificate file:Applewwdrca.cer

Get steps: Certificates------"Development------"--------"worldwide Developer relations Certificate Authority Click to download the file

2. Getcertificatesigningrequest.certsigningrequestfile

Get steps: Double-clicking the Applewwdrca.cer file will automatically open with Keychain access software,

selected Apple Worldwide Developer Relations Certification Authority

Keychain Access-------Certificate Assistant----------Request a certificate from a certification authority ...----------

Enter user e-mail address: Common name: request is: Select Save to Disk | Let me specify key pair info----------continue---------save to get a CSR file

Graphic:


3. Upload the certificatesigningrequest.certsigningrequest certificate file and download the Ios_development.cer certificate file

Operation steps: Certificates-------"Development---------" +--------"select Type (Choose file) select. Cersigningrequest upload------" Request--------"Generate---------" Download (Ios_development.cer certificate file available )-------Double-click the certificate to load it into keychain access

4. Create an app ID

Operation steps: Identifiers-------"app ids------" +-------"enter app ID Description------" Enter explicit app ID---->continue

5. Add a device

Procedure: Devices----> IPhone---> +------> enter name, UDID (phone connected to PC, open xcode----->window------->devices----- > Identifier value)

Graphic:

6. Create Profile XXX. Mobileprovisionand Download

Procedure: Provisioning Profiles-------> Development-----------> +-----------> Select App ID------->select                                                     Certificates------> Select devices. ----->name this profile and generate.---------> Download (xxx.mobileprovision)----------> Xcode7 is to double-click the profile to load the configuration file into Xcode

Graphic:





At this point about the configuration is finished, the total production of 4 files:



7. Create Project, modify Bundeidentifer, Code singing, select the real machine and run the project

Operation Steps:

① Modify the Bundle identifer in the info.plist , and then clean up the project, you can see General The Identity-->bundle identifer value changes and then modifies the general ------->identity------->team

② General----> Deployment Info--------> Deployment Target

③ Build Settings---> Code Signing identity:iphone developer:xxx (xxxx)

④ Select the real machine and run the-----"

Graphic:



Some nouns in this article refer to the article: Http://www.jianshu.com/p/21ebca8cadf6

At this point the real machine test is all over, I wish everyone success!

Detailed steps and illustrations for iOS real-computer testing

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.