1

我開發一個iOS應用程序,我一直在我的iPad到目前爲止測試安裝預置配置文件。隨着應用程序幾乎完成,我嘗試在iPhone上測試它,但無法在其中安裝配置文件。無法在iPhone

這些都是我做的步驟:(Xcode中5)

1) While my iPad was connected to mac I plugged in my iPhone 

2) Device was recognized, then I hit the button "Use for development" 

3) An error about not having a valid developer ID appear. 

4) Then I went to Xcode preferences -> Accounts and I found out there was 2 account for my user (maybe Xcode created another user since I had two simultaneously connected devices?) 

5) I then deleted the dummy account, checked the provisioning profile in the portal (it has the 2 devices added to it), opened organizer and clicked on "Add to Member Center" to redownload it but nothing came. 

6) I refreshed the profile in User Accounts. Tried to download it again, nothing. 

7) I also noticed that the iPad has two entries of the same provisioning profile on from may, when I started developing, and another for today. The iPhone has none. 

有一兩件事值得一提的是,雖然我已經添加到配置文件2個設備我只有1個證書(是正確的嗎?)

provisioning profile portal 任何想法?

+0

你在蘋果公司的門戶網站檢查,如果iPhone的設備ID註冊嗎? – scraatz

+0

是的。在設備標籤下,iPad和iPhone都註冊了正確的ID。 –

+0

使用xcode進行安裝時出現什麼錯誤? –

回答

1

這似乎是一個Xcode的問題。我重新啓動mac,下次它顯示一條消息,指出分配了不正確的ID,並顯示帶有「修復問題」標籤的按鈕。

固定問題後的Xcode再次下載配置文件,它的工作。