iPhone开发背景

准备步骤:
1. registered Apple developer. free
2. be a member of iOS Developer Program. 99$/299$
3. 创建development certification(通过keychain)
4.创建provisioning profile(通过Portal创建)

a.创建provisioning profile on the iOS Provisioning Portal.

b. Installing that provisioning profile in your device(拖动到Xcode配置)

5. 开始开发,可以通过Xcode organizor 来管理真机,或者导入导出development certification在不同机器间开发



名词解释:
iOS Provision Portal:
Apple真机开发必访问网站,付20Q币之后即可以看到,开发者的设备(iphone ID),需要在这里登记, 这里还负责生成development certificates,还有 provisioning profiles
“stores information about your development devices. It also manages other resources, including and, used in the development and distribution of iOS applications”

Certificate signing request:
这个东西由开发者填写,提交到Portal。  用于生成development certificate。
A certificate signing request (CSR) contains personal information used to generate your development certificate. You submit this request to the iOS Provisioning Portal.

Development certificate,用于代码签名, 在创建provisioning profile时需要选择
Any apps that are to be installed on an iPhone must first be signed using an iPhone Development Certificate
开发证书,由Portal生成, 在开发计算机上使用,在编译程序时配置。 生成后下载到本地,添加到mac的keychain。每个开发者都要申请一份,每台MAC安装一份,申请时由admin批准。主要目的是证明你是一个合法的开发者
A development certificate identifies an iOS application developer. After the CSR is approved, you download your developer certificate from the portal and add it to your keychain.

Provisioning profile,用于真机部署
这玩意由Portal生成,在真机上使用(iPhone),每台真机都要安装一份。其中包含:
Development certificates, 证明开发者合法.
device ids, 唯一标识标识真机
APP ID, 用于唯一标识该apple 程序
The provisioning profile defines which developer certificates are allowed to install an app on a device, which devices can be used and which apps can be installed. Once created, the provisioning profile must be installed on each device on which the designated app is to be installed。用于决定对于哪些程序,哪些开发者有权安装在哪些真机上。

A provisioning profile associates one or more development certificates, devices, and an app ID (iOS application ID).
To be able to install iOS applications signed with your development certificate on a device, you must install at least one provisioning profile on the device. This provisioning profile must identify you (through your development certificate) and your device (by listing its unique device identifier). If you’re part of an iOS developer team, other members of your team, with appropriately defined provisioning profiles, may run applications you build on their devices


下面这张图大概说明了他们之间纷繁复杂的暧昧关系
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章