gpt4 book ai didi

ios - 无法将分发配置文件添加到 Xcode 5

转载 作者:行者123 更新时间:2023-12-01 17:20:34 25 4
gpt4 key购买 nike

我正在尝试在 iTunes 上分发我的 Phonegap 应用程序。我之前成功地做到了这一点,但后来我换了一台新的 Mac。我正在使用 Xcode 5.0.2。

我已经创建了开发和分发证书。然后我创建了一个 App ID,在“Explicit App ID”下输入 Bundle ID。

然后,我为应用程序创建了一个开发配置文件,选择正确的应用程序 ID、iOS 开发证书、我的设备,为配置文件命名并单击“生成”。我下载它并双击以添加到 xcode。 xcode 管理器打开,我看到它已添加到我的设备配置文件下。然后我可以在我的物理设备上成功运行该应用程序。

现在我想分发它。我创建了一个新的配置文件,在 Distribution 下选择“App Store”,选择正确的 App I.D.、iOS Distribution 证书,然后单击“generate”。当我双击下载的文件时,xcode 中的管理器打开,但分发配置文件不在设备配置文件下。当我单击 + 按钮添加配置文件时,我无法选择分发配置文件,但我可以选择开发配置文件:
enter image description here

我不知道为什么会这样。我尝试关闭并打开xcode,但无济于事。我试着等了几个小时。再次,它没有工作。

然后我尝试通过创建文件来分发我的应用程序。首先我去build设置>代码签名并选择iPhone Distribution:

enter image description here

然后我选择我的物理设备并选择产品 > 存档。我得到错误:

No matching provisioning profiles found
None of the valid provisioning profiles include the device Belgian Iphone (identifier: xxxxxxxxxxxxxxxxxxxxxxx).
Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.

我单击“修复问题”并最终出现错误:
There was an error generating the team provisioning profile for AppID 'FT49U8Q9JE'.

此处给出的 AppID 与开发人员门户中 App ID 中的前缀不同。我不知道它是否应该是一样的。有什么建议吗?我在这个问题上花了 3 天时间,如上所述,我以前的 mac 没有问题(我不再有)!

最佳答案

最近让我感到困惑的是必须在build设置中实际设置配置文件 enter image description here

关于ios - 无法将分发配置文件添加到 Xcode 5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21783628/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com