iOS真機測試,為Provisioning添加裝置 -- based xcode6[原]

來源:互聯網
上載者:User

標籤:

 

iOS真機測試,  我們需要添加幾台新的裝置進行測試。我們只需要對Provisioning Profiles 進行更新。

 

1. 在蘋果開發人員中心添加測試裝置

開啟蘋果Certificates, Identifiers & Profiles頁面; 並且選擇iphone(我們只有iphone測試裝置,沒有ipad等,有多重裝置選擇all)

 https://developer.apple.com/account/ios/device/

 

 

2. 給Provisioning Profile 添加對應的測試裝置

在網頁的Provisioning Profiles ——》 Distribution 選擇對應的Provisioning Profile

edit --  勾選相應需要添加的裝置 -- generate -- download

 

下載下來的檔案是 *.mobileprovision

 

====================

下面的捕捉在電腦上操作

3. 雙擊對應的.mobileprovision檔案, 將provisioning profile更新到xcode.

在Xcode > Preference... >Accounts tab 》 view details 中可以查看對應的provisioning profile 檔案資訊

註:在xcode 5 "organizer"裡provisioning profile的管理介面已經不再有, 而是改為在menu "Xcode > Preference... >Accounts tab" 裡進行管理, 還有一點不同的是你需要在Accounts tab裡添加Apple ID with password

 

4. 在TARGENTS -- Build Setting -- Code Signing 中選擇對應 provisioning profile

更新provisioning profile 如果更新這一項會報 錯誤: CodeSign error: no provisioning profile at path

 

5. Product -- Build - Archive -- Export -- Save for Ad Hoc Deployment

產生ipa 檔案。

 

6. 將ipa檔案上傳到fir.im

 

iOS真機測試,為Provisioning添加裝置 -- based xcode6[原]

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.