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


下面這張圖大概說明了他們之間紛繁複雜的曖昧關係
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章