【问题标题】:Can't Install Provisioning Profile on iPhone无法在 iPhone 上安装配置文件
【发布时间】:2014-01-25 15:40:28
【问题描述】:

我正在开发一个 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 个证书(对吗?)

有任何想法吗?

【问题讨论】:

  • 如果 iPhone 的设备 ID 已在 Apple 的门户网站中注册,您是否检查过?
  • 是的。在设备选项卡下,iPad 和 iPhone 都使用正确的 ID 注册。
  • 使用xcode安装时出现什么错误?
  • 刚刚通过重启mac修复了这个问题。当我尝试部署 Xcode 时,显示一条消息,指出分配了不正确的 ID 和一个“修复问题”按钮

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


【解决方案1】:

这似乎是 Xcode 的问题。我重新启动了 mac,下次它显示一条消息,指出分配了不正确的 ID 和一个带有“修复问题”标签的按钮。

在修复问题后,Xcode 再次下载了配置文件并且它工作了。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-10-09
    • 1970-01-01
    • 2011-01-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多