Xcode 包标识符需要是唯一的消息

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/40918816/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:37:12  来源:igfitidea点击:

Xcode bundle identifier needs to be unique message

xcodexcode8

提问by Pieter

Failed to create provisioning profile.
The app ID "com.example.hello" cannot be registered to your development team. 
Change your bundle identifier to a unique string to try again.

This is the message that I get within Xcode when I select my own user account under Signing>Team "Pieter (Personal Team)". I'm trying to build a sample application (Cordova).

这是我在 Xcode 中在Signing>Team "Pieter (Personal Team)"下选择我自己的用户帐户时收到的消息。我正在尝试构建一个示例应用程序 (Cordova)。

If I change the bundle ID I can get rid of the error, but I don't accept that workaround as a solution. I need to be able to build a sample project with its own bundle ID.

如果我更改包 ID,我可以摆脱错误,但我不接受该解决方法作为解决方案。我需要能够使用自己的包 ID 构建示例项目。

回答by ricardopereira

In my case I was selecting the wrong Dev Team while exporting the archive:

就我而言,我在导出存档时选择了错误的开发团队:

Development team

开发小组

回答by pableiros

The app Id must match with your own domain, for example:

应用 ID 必须与您自己的域匹配,例如:

enter image description here

在此处输入图片说明

You can get more information about this here: App ID

您可以在此处获得更多信息:App ID