“包含标识符X的应用程序ID不可用。请输入不同的字符串“ (Xcode 7.3) [英] "An App ID with bundle identifier X is not available. Please enter a different string" (Xcode 7.3)

查看:267
本文介绍了“包含标识符X的应用程序ID不可用。请输入不同的字符串“ (Xcode 7.3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新到Xcode 7.3(7D175)的最新版本后,每次尝试导出以进行adhoc分发时,都会出现上述错误。一切都工作正常,直到更新。捆绑ID肯定是我自己的,已注册到此应用程序。我尝试重新创建我的证书,配置配置文件,删除旧配置文件,疯狂地点击再试一次按钮......似乎没有任何效果。

After updating to the latest build of Xcode 7.3 (7D175), every time I try to Export for adhoc distribution I get the above error. Everything was working fine up until the update. The bundle ID is definitely my own, registered to this application. I've tried recreating my certificates, provisioning profiles, deleting old ones, frantically clicking the 'try again' button ... nothing seems to work.

任何人都找到了解决这个问题?我看到其他一些人面临同样的问题,但他们的解决方案似乎都不适合我( https://stackoverflow.com/a / 36192586/1542275 https://stackoverflow.com/a/36175175/1542275

Any one find a solution to this? I saw some others were facing the same problem, but none of their solution seem to work for me (https://stackoverflow.com/a/36192586/1542275, https://stackoverflow.com/a/36175175/1542275)

更新
我不确定这是否相关,但对于它,我试图'验证'构建。我做了,它通过了。无论如何,在您启动验证之前,您将获得信息屏幕,其中显示有关附加的prov-profile的所有详细信息。我注意到,尽管选择了我的adhoc prov-profile,但信息屏幕(在验证之前)表示它正在使用我的分发配置文件。然后我从xcode中删除了我的分发配置文件,重新存档,现在验证失败了。存档,adhoc和导出似乎有些奇怪。

update: I'm not sure if this is relevant, but for the heck of it I tried to 'validate' the build. I did and it passed. Anyway, just before you fire off the validation you get the information screen that shows you all the details about the attached prov-profile. I noticed that despite selecting my adhoc prov-profile, the information screen (just before validating) said that it was using my distribution profile. I then removed my distribution profile from xcode, re-archived, and now validation is failing. Something weird seems to be going on with archiving, adhoc, and exporting.

推荐答案

我刚刚安装了Xcode 7.2.1并且可以成功用它导出AdHoc构建。虽然Xcode 7.3继续告诉包标识符有问题。

I just installed Xcode 7.2.1 and could successfully export AdHoc build with it. While Xcode 7.3 keeps on telling that there is something wrong with bundle identifier.

更新:

将证书,标识符和配置文件下的开发人员门户中的App ID的名称(不是ID)更改为下一格式XC com mycompany appname(如果您的应用ID是com。 mycompany.appname)帮助Xcode查看您的appID。很奇怪,但它正在发挥作用。

Looks like changing the "Name" (not the ID) of App ID in developer portal under "Certificates, Identifiers & Profiles" to the next format "XC com mycompany appname" (in case your app ID was com.mycompany.appname) helps Xcode see your appID. Strange but it's working.

这篇关于“包含标识符X的应用程序ID不可用。请输入不同的字符串“ (Xcode 7.3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆