标识符'com.example.app.extention'的应用程序ID不可用。请输入其他字符串 [英] An App ID with Identifier 'com.example.app.extention' is not available. Please enter a different string

查看:1108
本文介绍了标识符'com.example.app.extention'的应用程序ID不可用。请输入其他字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试为我的iOS应用添加扩展程序,包括今天的扩展程序和Apple Watch应用程序。我的应用程序已经完成,但是在提交我的存档时,我收到了基于我的包标识符的错误。然后我删除了扩展,将它们添加回来,并尝试重新提交。但是,xcode现在抱怨我的配置文件无法签名。

I have tried to add extensions to my iOS app, both a today extension and an Apple Watch app. My app has been completed however when submitting my archive I got the error based on my bundle identifiers. I then removed the extensions, added them back, and attempted to resubmit. However, xcode now complained that my provisioning profiles cannot be signed.


带有标识符的应用程序ID'com.example.app.extention'不是
可用。请输入不同的字符串。

"An App ID with Identifier 'com.example.app.extention' is not available. Please enter a different string."

我立即前往会员中心查看是否有应用程序ID已存在,阻止我将其用于我的扩展程序。没有什么与这个名字相冲突,这对我来说是如此奇怪。如果新ID与旧ID不冲突,我是否应该能够制作新ID?我还从以前的扩展中删除了任何配置文件。不过,我无法添加com.example.app.extention com.example.app.watchkitextension。

I immediately went to the member center to see if an App ID already exists that prevents me from using it for my extensions. Nothing conflicted with the name, this is what was so bizarre to me. Shouldn't I be able to make the new ID if it doesn't conflict with an old ID? I also removed any provisioning profiles from previous extensions. Still, I could not add either "com.example.app.extention" or "com.example.app.watchkitextension."

我决定按照新的命名惯例创建新的应用ID,例如com.example.app.extentions.watchkitextension。 com.example.app.extentions.todayextention。一切正常,并且构建良好。我安装在我的设备上,事情很好。我的档案甚至已经过验证。但是,在提交时我收到错误:

I decided to just create new app IDs, following a new naming convention like "com.example.app.extentions.watchkitextension." or "com.example.app.extentions.todayextention." Everything worked fine, and built fine. I installed on my devices, things were good. My archive even was validated. However, upon submission I am given the error:


错误ITMS-90347:包标识符错误。包标识符
应用程序扩展名为
xxx.app/Plugins/xxxExtension.appex的xxx.yyy.zzz应该以应用程序的
包标识符xxx开头,并且在$ b之后不包含多个句点。 $ b应用程序包ID。

ERROR ITMS-90347: "Bad bundle identifier. The bundle identifier "xxx.yyy.zzz" of the application extension xxx.app/Plugins/xxxExtension.appex should start with the application's bundle identifier "xxx" and not contain more than one period "." after the application bundle ID.

这意味着我必须使用命名约定com.example。 app.extention xcode和会员中心不允许我创建正确的ID。

This means I have to use the naming convention "com.example.app.extention" that xcode and the member center will not allow me to create the proper IDs.

我非常沮丧,有人可以请帮助。我无法在任何地方找到解决方案。

I am extremely frustrated, can someone please help. I cannot find a solution anywhere.

编辑

似乎我实际上根本无法使用该标识符。

It seemed that I was actually not able to use that identifier at all.

此外,我应该注意到有任何人发出此消息的警告:

Also, I should note a couple of warnings for anyone with this message:

1)在扩展名包括a之前,你不能添加任何东西句点,如com.domain.app.extensions.extension也不起作用。
2)自动化Swift 2转换器具有将标识符更改为更标准名称的趋势,并尝试让xcode解决配置文件。小心这个!

1) You cannot add anything before the extension of it includes a period, as in com.domain.app.extensions.extension won't work either. 2) The automatics Swift 2 converter has a tendancy to change identifieres to more standard names and try to let xcode work out the provisioning profiles. Be careful of this!

我唯一的解决办法是更改标识符名称。我个人使用com.domain.app.todayextension。我得到了它的工作,但只有在通过成员中心安装和添加正确的配置文件以进行开发和分发之后。它似乎是Apple系统中的一个错误,或者我们都完全不知道配置文件如何工作。我认为后者可能是真的。无论如何,我希望有所帮助!

The only fix I had was to change the identifier name for good. I personally used com.domain.app.todayextension. I got it to work then, but only after installing and adding the correct provisioning profiles for development and distribution through the member center. It appears to be a bug in Apple's system, or maybe we all have absolutely no idea how provisioning profiles work. I think the latter is probably what is true. Anyway, I hope that helps!

推荐答案

我从Apple开发者论坛找到了解决方案。

I found the solution from Apple developer forums.

Apple刚刚更新了他们的开发中心CGU。似乎应用扩展程序bundleId更严格。

Apple has just updated their Dev Center CGU. It seems that the app extension bundleId is stricter.

如果你的应用程序bundleId格式是:com.my.app

if your app bundleId format is : com.my.app

你的应用扩展程序bundleId现在必须是:com.my.app.XXX

your app extension bundleId now have to be : com.my.app.XXX

创建新的appID和配置文件修复了这个问题。

Creating new appID and provisioning profile fix the issue.

点击此链接 https://forums.developer.apple.com/thread/15712

这篇关于标识符'com.example.app.extention'的应用程序ID不可用。请输入其他字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆