xcode 该应用 ID 无法注册到您的开发团队
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/47662981/
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
The app ID cannot be registered to your development team
提问by atineoSE
I am trying to deploy an iOS app to a test device with Xcode 9.1. but I get the following error:
我正在尝试使用 Xcode 9.1 将 iOS 应用程序部署到测试设备。但我收到以下错误:
The app ID "com.myDomain.myApp" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.
I have 2 Apple IDs registered in Xcode and I made the mistake of choosing "Automatically manage signing" with the wrong development team, the one associated to the wrong Apple Id. Now I want to change it but I don't know how.
我在 Xcode 中注册了 2 个 Apple ID,我错误地选择了“自动管理签名”,错误的开发团队与错误的 Apple ID 相关联。现在想改,不知道怎么改。
This is what the signing section of the target looks like for the development team I chose by mistake:
这是我错误选择的开发团队的目标签名部分的样子:
This is what the signing section of the target looks like for the development team I would like to use instead:
这是我想使用的开发团队的目标签名部分的样子:
I have gone to the Apple Developer portal and couldn't find the app under App IDs, so I don't know how I can remove it to start from scratch. I have removed the signing certificate from the local keychain but that is not enough.
我去了 Apple Developer 门户,在 App IDs 下找不到该应用程序,所以我不知道如何将其删除以从头开始。我已经从本地钥匙串中删除了签名证书,但这还不够。
Note that I still would like to use "Automatically manage signing" and I would still like to keep the bundle identifier.
请注意,我仍然想使用“自动管理签名”并且我仍然想保留包标识符。
回答by Dirk Boer
I hadto reuse the Bundle Identifier, because we were replacing an old app. I spent three hours trying everything I could find on the internet.
我不得不重用 Bundle Identifier,因为我们正在替换一个旧的应用程序。我花了三个小时尝试我在互联网上能找到的所有东西。
In the end I changed the bundle identifier, pressed all the buttons, thenchanged it back to the original bundle identifier and everything worked.
最后,我更改了包标识符,按下所有按钮,然后将其改回原始包标识符,一切正常。
This is not the first time that I spent hours wasting in Xcode/ iOS Dev while in the end I just needed to do some voodoo ritual.
这不是我第一次在 Xcode/iOS Dev 上浪费时间,而最后我只需要做一些巫毒仪式。
回答by Md Rais
Change the app Bundle Identifier and make sure its unique.
For example: com.companyname.appnameto com.companyname.appname123
更改应用程序包标识符并确保其唯一。
例如:com.companyname.appname到com.companyname.appname123