标识符为“com.companyname.appname"的应用 ID 不可用.请输入其他字符串 [英] An App ID with Identifier 'com.companyname.appname' is not available. Please enter a different string

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

问题描述

我正在尝试将我的 IOS 应用上传到 TestFlight 进行 Beta 测试.在 XCode 上,我的应用程序包 ID 是 com.companyname.appname.当我尝试创建分发配置文件时,系统提示我创建一个应用 ID.

I am trying to upload my IOS app to TestFlight for beta testing. On XCode, my application's bundle ID is com.companyname.appname. When i try to create a distribution provisioning profile, i am told to create an app ID.

当我尝试在开发者门户上注册 IOS App ID 时,我在 App ID Descriptioncom.companyname.appname 下输入 appname> 在捆绑 ID 下.我收到错误消息

When i try to register an IOS App ID on the developer portal, i enter appname under App ID Description and com.companyname.appname under Bundle ID. I get the error message

There were errors in the data supplied. Please correct and re-submit.
An App ID with Identifier 'com.companyname.appname' is not available. 
Please enter a different string.

我目前没有其他具有捆绑 ID com.companyname.appname 的应用.当我将捆绑 ID 更改为其他字符串(如 com.companyname.io)时,它会起作用.

I currently have no other app with bundle ID com.companyname.appname. When i change the bundle ID to some other string like com.companyname.io, it works.

为什么捆绑名称 com.companyname.appname 不起作用?

Why doesn't the bundle name com.companyname.appname work?

我应该继续使用与 XCode 不同的包 ID 吗?

Should i go ahead and use a different bundle id from what is on XCode?

我这样做对吗?

推荐答案

您是否在问题中使用 com.companyname.appname 作为您在门户中输入的真实字符串的占位符,或者那真的是你正在使用的?

Are you using com.companyname.appname in your question as a placeholder for the real string you've entered in the portal, or that's really what you're using?

Bundle ID 需要全局唯一.不只是你独有的.因此,其他人可能使用与您使用的相同的 com.companyname.appname.

Bundle ID's need to be globally unique. Not just unique to you. So someone else is likely using the same com.companyname.appname as you've used.

您应该使用基于您的域名的捆绑 ID(以相反的顺序).例如,如果您的域名是 someguyfortune.com,并且您的应用名为 MyAwesomeApp,那么您应该使用 com.someguyfortune.MyAwesomeApp.案例很重要.我个人更喜欢使用所有小写字母,但 Xcode 默认使用大写字母,它们工作正常.

You should be using a Bundle ID that's based on your domain name (in reverse order). For example, if your domain name is someguyfortune.com, and your app is called MyAwesomeApp, then you should use a Bundle ID of com.someguyfortune.MyAwesomeApp. Case matters. I personally prefer using all lower case letters, but Xcode will use uppercase letters by default and they work fine.

使用这种反向域名样式可以提高其他人不会使用相同 Bundle ID 的几率.

Using this reverse domain name style improves the odds that no one else will be using the same Bundle ID.

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

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