简体   繁体   English

如何在iOS开发中完全删除bundle id?

[英]How to completely remove bundle id in iOS development?

How can I reuse the bundle ID I have created for the app ID?如何重用我为应用 ID 创建的包 ID? I even delete the associated app ID but the bundle ID still unavailable.Does it to say bundle ID couldn't be removed completely once created?我什至删除了关联的应用程序 ID,但捆绑 ID 仍然不可用。是说捆绑 ID 创建后无法完全删除吗?

The bundle id can't be reused as exact.捆绑 ID 不能准确地重复使用。 For example com.abc.xxx can be used only once.例如 com.abc.xxx 只能使用一次。 If you had created this app Id from one account, you can't create the same app Id from the other account.如果您是从一个帐户创建此应用程序 ID,则无法从另一个帐户创建相同的应用程序 ID。 However, you will still be able to create a new one as com.abc.xxx1 like or so.但是,您仍然可以像 com.abc.xxx1 那样创建一个新的。 There should be atleast 1 character difference in the app Id's应用程序 ID 中至少应有 1 个字符差异

IF YOU WANT TO DELETE AN APP ID THEN BELOW ARE THE STEPS:如果您想删除应用程序 ID,请执行以下步骤:

  1. Open developer.apple.com and enter using your credentials.打开 developer.apple.com 并使用您的凭据输入。
  2. Click on App IDs.单击应用程序 ID。
  3. Now click on the App ID you want to Delete.现在单击要删除的 App ID。
  4. Click on Edit at the bottom of the App ID information.单击 App ID 信息底部的编辑。
  5. Now here at the bottom of the page you can find Delete button to delete an App ID.现在在页面底部,您可以找到删除按钮来删除应用程序 ID。

I'm not sure what your exact scenario is, you didn't provide enough information to know that.我不确定您的确切情况是什么,您没有提供足够的信息来了解这一点。 However, I came across a similar problem which was as follows:但是,我遇到了类似的问题,如下所示:

Some time ago I registered a new Apple Account and created an iOS app with it.前段时间我注册了一个新的 Apple 帐户并用它创建了一个 iOS 应用程序。 I did not pay for that, ie the app could only ever be used for 7 days.我没有为此付费,即该应用程序只能使用 7 天。 I've never submitted that app to the app store.我从未将该应用程序提交到应用程序商店。 Nonetheless, the bundle identifier of the app was associated with that particular account.尽管如此,该应用程序的捆绑标识符与该特定帐户相关联。

Some time later I registered another Apple Account.一段时间后,我注册了另一个 Apple 帐户。 This time with a payed subscription.这次是付费订阅。 When I attempted to sign the app I created with the first account, Xcode complained as follows:当我尝试对我用第一个帐户创建的应用程序进行签名时,Xcode 抱怨如下:

Failed to register bundle identifier.未能注册捆绑标识符。 The app identifier "xy" cannot be registered to your development team because it is not available.应用标识符“xy”无法注册到您的开发团队,因为它不可用。

and

No profiles for 'xy' were found.未找到“xy”的配置文件。 Xcode couldn't file any iOS App Development provisioning profiles matching 'xy'. Xcode 无法归档任何与“xy”匹配的 iOS 应用开发配置文件。

It seems that the bundle identifier gets strictly associated with the provisioning profile of the first account.似乎捆绑标识符与第一个帐户的配置文件严格关联。 The way to solve this is to delete that particular provisioning profile.解决此问题的方法是删除该特定配置文件。 You can do so by going to the following folder and deleting the corresponding file in that folder:您可以通过转到以下文件夹并删除该文件夹中的相应文件来执行此操作:

~/Library/MobileDevice/Provisioning Profiles/

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

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