xcode 配置文件与捆绑标识符不匹配
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13062268/
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
Profile doesn't match bundle identifier
提问by Crystal
So I'm trying to submit an app to the app store. This is my first app so I think I jumbled it somewhere.
所以我正在尝试向应用商店提交一个应用。这是我的第一个应用程序,所以我想我把它弄乱了。
In iTunesConnect, my BundleID is com.mywebsite.appname
在 iTunesConnect 中,我的 BundleID 是 com.mywebsite.appname
I created a distrubition profile through the Provisioning Portal with the same app ID that I used to create the BundleID in itunesConnect. When I try to code sign my release build, I see this:
我通过 Provisioning Portal 创建了一个 distrubition 配置文件,其应用程序 ID 与我在 itunesConnect 中创建 BundleID 时使用的应用程序 ID 相同。当我尝试对我的发布版本进行代码签名时,我看到:
AppName (for bundle identifiers 'com.mywebsite.AppName')
profile doesn't match bundle identifier 'mywebsite.AppName'
From googling, it looks like that the bundle ID is case sensitive. I tried creating another app ID in the dev portal as appname, but it didn't seem to matter since now in the dev portal, I have two apps called Appname. Even though it let me add another app ID, it displays them the same with the first letter as caps, and the rest not. So what do I need to do in order to get my profile to match the bundle id. And which bundle id do I need to match, the one on iTunesConnect?
从谷歌搜索来看,bundle ID 似乎是区分大小写的。我尝试在开发门户中创建另一个应用程序 ID 作为 appname,但现在在开发门户中似乎无关紧要,我有两个名为 Appname 的应用程序。即使它让我添加另一个应用程序 ID,它也会以首字母大写的方式显示它们,其余的则不然。那么我需要做什么才能使我的个人资料与捆绑包 ID 匹配。我需要匹配哪个捆绑 ID,iTunesConnect 上的那个?
Lastly, I want to make sure that the name of my app underneath the icon on the iPhone doesn't show up in lowercase. Is that possible? Thanks!
最后,我想确保 iPhone 上图标下方的应用程序名称不会以小写形式显示。那可能吗?谢谢!
回答by trojanfoe
This screenshot shows you where in Xcode to set the Bundle Identifier:
此屏幕截图显示了在 Xcode 中设置 Bundle Identifier 的位置: