简体   繁体   English

如何在Xcode上删除iOS Team Provisioning Profile / AppID?

[英]How to remove iOS Team Provisioning Profile / AppID on Xcode?

I am new to Mac and I have to use it for developing Ionic hybrid app for iOS. 我是Mac新手,我必须用它来开发适用于iOS的Ionic混合应用程序。 I am using Mac 10.11 with Xcode 7. 我使用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. 但是我在使用App ID时遇到了问题。 In my Xcode, when I go to account, I can see Team Name list with 2 items. 在我的Xcode中,当我进入帐户时,我可以看到包含2个项目的团队名称列表。 One is my name with Agent for iOS and Mac. 一个是我的代理iOS和Mac的名字。 The other one is my name (Personal Team) with Free for iOS and 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. 问题出在个人团队项目中,我有配置文件,其中包含我要用于部署到应用商店的应用ID。 Since it is already in here, I can't create that app ID again in my developer account. 由于它已经在这里,我无法在我的开发者帐户中再次创建该应用ID。 I tried but I can't find a way to remove it. 我试过,但我找不到删除它的方法。

So, how can I remove that app ID / Provisioning Profile so that I can use it in my developer account? 那么,我如何删除该应用ID /配置文件,以便我可以在我的开发者帐户中使用它?

Thank you. 谢谢。

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. 我设法做到这一点的唯一方法是联系客户支持(Apple开发人员计划支持),几天后几次来回他们最终从我的个人团队中删除了包ID,我能够将它添加到我的开发人员计划中(代理)简介。 I know this is not ideal but at least if you really want to use the same Bundle ID it worked for me. 我知道这不是理想的,但至少如果你真的想要使用相同的Bundle ID,它对我有用。

The issue is not with App ID but Bundle ID that is unique in the AppStore. 问题不在于App ID,而在AppStore中是唯一的Bundle ID

Currently, you can't 'restore' Bundle ID in any way. 目前,您无法以任何方式“恢复”Bundle ID。 You can create another App ID with the same Name but different Bundle 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文档

You can select your App ID in the Developer portal under iOS App IDs to edit and delete. 您可以在iOS应用程序ID下的开发人员门户中选择您的应用 程序ID进行编辑和删除。

If you're referring to your iTunes Connect listing, you cannot remove your application listing. 如果您指的是iTunes Connect列表,则无法删除您的应用程序列表。 You can however use a different Bundle ID with the same App ID . 但是,您可以使用具有相同App ID的其他Bundle ID Which, in turn, would solve your problem. 反过来,这将解决您的问题。

As for Provisioning profiles , you can edit and remove them in the Provisioning Portal . 对于Provisioning配置文件 ,您可以在Provisioning Portal中编辑和删除它们。

@Alexandros Trepeklis suggested contacting Apple Developer Program Support ; @Alexandros Trepeklis建议联系Apple开发者计划支持 ; they may be able to help you remove the original app listing. 他们可能会帮助您删除原始应用列表。

And as @Krodak mentioned, you should read 's documentation on the subject. 正如@Krodak所提到的,你应该阅读关于这个主题的的文档

You can delete an App ID and Bundle ID on your own through the developer portal if you have not yet posted the app to iTunes Connect . 可以通过开发者门户网站删除自己的应用程序ID和包ID, 如果您还没有发布的应用程序到iTunes连接 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. TL; DR是您需要为应用添加功能以强制Xcode在门户上为您的应用生成明确的列表。 Once the listing is there, you can remove it (and all associated provisioning profiles and whatnots). 列表出现后,您可以将其删除(以及所有相关的配置文件和诸如此类的内容)。

Step by step: 一步步:

  1. Add a capability, say push notifications, to your app. 向您的应用添加功能,例如推送通知。

转到功能选项卡

添加功能

添加权利

  1. Now log in to the developer portal . 现在登录开发人员门户 Go to Account > Certificates, IDs, & Profiles > App IDs. 转到帐户>证书,ID和配置文件>应用程序ID。 You should see the App ID prefixed with "XC" 您应该看到前缀为“XC”的App ID

门户网站上的应用ID列表

  1. Click on the App ID you want to delete and then click the Edit button. 单击要删除的应用程序ID,然后单击“编辑”按钮。

单击App ID然后编辑

  1. Click Delete towards the bottom of the listing. 点击列表底部的删除。

单击删除

  1. Confirm the delete. 确认删除。 This should free up the App ID and Bundle ID for use with another team. 这应该释放App ID和Bundle ID以供其他团队使用。

确认删除

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM