无法在iPhone上安装配置文件

时间:2014-01-25 15:40:28

标签: xcode xcode5 code-signing provisioning-profile ios-provisioning

我正在开发一款iOS应用程序,到目前为止我一直在iPad上进行测试。由于应用程序即将完成,我尝试在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 有任何想法吗?

1 个答案:

答案 0 :(得分:1)

这似乎是一个Xcode问题。我重新启动了Mac,下次它会显示一条消息,说明分配了错误的ID以及一个带有“修复问题”标签的按钮。

解决问题后,Xcode再次下载了该配置文件并且运行正常。

相关问题