如何在 Xcode 上删除 iOS Team Provisioning Profile/AppID?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/34605478/
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
How to remove iOS Team Provisioning Profile / AppID on Xcode?
提问by user1995781
I am new to Mac and I have to use it for developing Ionic hybrid app for iOS. I am using Mac 10.11 with Xcode 7.
我是 Mac 的新手,我必须用它来为 iOS 开发 Ionic 混合应用程序。我正在使用 Mac 10.11 和 Xcode 7。
Now, I have get my app ready and want to deploy it to app store. But I am having trouble with the App ID. In my Xcode, when I go to account, I can see Team Name list with 2 items. One is my name with Agent for iOS and Mac. The other one is my name (Personal Team) with Free for iOS and Mac.
现在,我已经准备好我的应用程序并希望将它部署到应用程序商店。但是我在使用 App ID 时遇到了问题。在我的 Xcode 中,当我转到帐户时,我可以看到包含 2 个项目的团队名称列表。一个是我的 iOS 和 Mac 代理的名字。另一个是我的名字(个人团队),适用于 iOS 和 Mac。
The problem is in the Personal Team item, I have the provisioning profiles with the app ID I want to use for deploy into app store. Since it is already in here, I can't create that app ID again in my developer account. I tried but I can't find a way to remove it.
问题出在 Personal Team 项目中,我有我想用于部署到应用商店的应用 ID 的配置文件。由于它已经在这里,我无法在我的开发者帐户中再次创建该应用程序 ID。我试过了,但我找不到删除它的方法。
So, how can I remove that app ID / Provisioning Profile so that I can use it in my developer account?
那么,如何删除该应用程序 ID/配置文件,以便我可以在我的开发者帐户中使用它?
Thank you.
谢谢你。
回答by Alexandros Trepeklis
The only way I manage to do that is to contact the customer support (Apple Developer Program Support), after few days and few back and forth they finally deleted the bundle id from my Personal Team and I was able to add it to my Developer Program (Agent) profile. I know this is not ideal but at least if you really want to use the same Bundle ID it worked for me.
我设法做到这一点的唯一方法是联系客户支持(Apple 开发人员计划支持),经过几天和几次来回,他们终于从我的个人团队中删除了捆绑 ID,我能够将其添加到我的开发人员计划中(代理)简介。我知道这并不理想,但至少如果您真的想使用它对我有用的相同 Bundle ID。
回答by Aleksander Azizi
You can select your App IDin the Developer portal under iOS App IDsto edit and delete.
您可以在iOS App IDs下的 Developer Portal 中选择您的App ID进行编辑和删除。
If you're referring to your iTunes Connectlisting, you cannot remove your application listing. You canhowever use a different Bundle IDwith the same App ID. Which, in turn, would solve your problem.
如果您指的是iTunes Connect列表,则无法删除您的应用程序列表。但是,您可以使用具有相同App ID的不同Bundle ID。反过来,这将解决您的问题。
As for Provisioning profiles, you can edit and remove them in the Provisioning Portal.
至于供应配置文件,您可以在供应门户中编辑和删除它们。
@Alexandros Trepeklissuggested contacting Apple Developer Program Support; they may be able to help you remove the original app listing.
@Alexandros Trepeklis建议联系Apple Developer Program Support;他们或许可以帮助您删除原始应用列表。
And as @Krodakmentioned, you should read ?'s documentationon the subject.
回答by Dana Wheeler
You candelete an App ID and Bundle IDon your own through the developer portal if you have not yet posted the app to iTunes Connect. The TL;DR is that you need to add a capability to your app to force Xcode to generate an explicit listing for your app on the portal. Once the listing is there, you can remove it (and all associated provisioning profiles and whatnots).
您可以删除一个应用程序ID和包ID通过开发者门户网站上自己,如果你还没有发布的应用程序到iTunes连接。TL;DR 是您需要向您的应用程序添加一项功能,以强制 Xcode 在门户上为您的应用程序生成一个明确的列表。列表出现后,您可以将其删除(以及所有相关的配置文件和诸如此类)。
Step by step:
一步步:
- Add a capability, say push notifications, to your app.
- 向您的应用程序添加功能,例如推送通知。
- Now log in to the developer portal. Go to Account > Certificates, IDs, & Profiles > App IDs. You should see the App ID prefixed with "XC"
- 现在登录到开发人员门户。转到帐户 > 证书、ID 和配置文件 > 应用 ID。您应该会看到以“XC”为前缀的 App ID
- Click on the App ID you want to delete and then click the Edit button.
- 单击要删除的 App ID,然后单击“编辑”按钮。
- Click Delete towards the bottom of the listing.
- 单击列表底部的删除。
- Confirm the delete. This should free up the App ID and Bundle ID for use with another team.
- 确认删除。这应该释放 App ID 和 Bundle ID 以供其他团队使用。
回答by Krodak
The issue is not with App IDbut Bundle IDthat is unique in the AppStore.
问题不在于App ID,而在于 AppStore 中唯一的Bundle ID。
Currently, you can't'restore' Bundle ID in any way. You cancreate another App ID with the same Namebut differentBundle ID.
目前,您无法以任何方式“恢复”捆绑 ID。您可以创建另一个名称相同但Bundle ID不同的App ID。
Solution: go to your other Developer Program, create new App, choose slight different Bundle ID and you are good to go.
解决方案:转到您的其他开发人员计划,创建新应用程序,选择稍微不同的 Bundle ID,您就可以开始了。
Reference: Apple Documentation
参考: Apple 文档