"Go" iOS Developer account and certificate

Source: Internet
Author: User
Tags asymmetric encryption

Original URL: http://www.jianshu.com/p/8e967c1d95c2

After Xcode7, Apple supports certificate-free debugging, but if you need to debug the push feature or need to publish the app, you'll need to use a paid developer account.
Certificate configuration process, the online tutorials are many, but also very detailed, the control step by step, generally can be configured successfully.
This article explores the mechanisms behind these steps and the goals that each step achieves.

The main contents of this article are:

    1. Certificate Configuration General Steps
    2. The mechanism behind each step
Certificate Configuration General Steps
1. 钥匙串访问 -> 生成CSR文件 2. 开发者中心 -> Certificates -> add -> iOS App Development -> 上传CSR文件,生成cer证书文件3. 下载并安装证书文件3.1. 若上一步中的证书不能识别授权方(此证书是由未知颁发机构签名的),可以下载并安装AppleWWDRCA.cer证书来解决4. 添加App IDS5. 添加设备UUID6. Provisioning Profiles -> add -> 依次选择App ID、certificate、devices,生成描述文件7. 安装描述文件8. 真机调试程序,会弹出"codesign"想要使用您的钥匙串中的密钥"xxxx"进行签名,点击允许,可以进行真机调试
The mechanism behind each step
1. Creating a CSR file with keychain Access# Generate a pair of keys in your Mac keychain, including public and private keys, and check login & key view.# CSR file contains user's public key and mailbox information2. Upload the CSR file, generate the CER certificate file, certificates, add-on, developer Center, IOS APP Development# WWDR The CSR file using the CA's key to verify that the public key is part of this developer account3. Download and install the certificate file# At this point the certificate is the user's public key and user information after the CA is encrypted3.1. If the certificate in the previous step does not recognize the licensor, you can download and install the Applewwdrca.cer certificate to resolve# Unrecognized because the machine does not have a CA's public key and cannot validate the signed certificate [https:Developer.apple.com/certificationauthority/applewwdrca.cer]# Certificates Follow "private key signature-public key authentication" in asymmetric encryption# so you need to download the CA's public key for authentication 4. Add the bundle ID 5 of the App IDs # logo app. Add device UUID# identify that iphone or ipad6. Provisioning Profiles, add, select App ID, certificate, devices, generate profile # Real-Time debugging, Xcode will package the description file into the app, describing the role of the information contained in the file 7. The installation Profile # Description file is added to the ~/library/mobiledevice/provisioning profiles path # Xcode will automatically search for this directory at compile time 8. The Real machine debugging program, Will pop up "codesign" want to use the key in your keychain "xxxx" to sign, click Allow, you can do a real machine debugging # Packaging app, Xcode will use the user's private key to sign   



Wen/honglinghe (author of Jane's book)
Original link: http://www.jianshu.com/p/8e967c1d95c2
Copyright belongs to the author, please contact the author to obtain authorization, and Mark "book author".

"Go" iOS Developer account and certificate

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.