iOS应用程序包ID错误和iTunesConnect [英] iOS app Bundle ID errors and iTunesConnect

查看:181
本文介绍了iOS应用程序包ID错误和iTunesConnect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SO条目,我在iOS应用程序上传器中遇到错误。



这些是我拥有的值:



在KeyChain我有这个证书:

  iPhone发行:示例公司(DistCertificateID)

在我的developer.apple.com帐户中,我已经定义了应用程序:

 名称:LongReadableName 
前缀: DistCertificateID
ID:com.example。*

名称:Xcode iOS通配符ID
前缀:DistCertificateID
ID:*

这些是我收到的错误:


此软件包无效。应用程序标识符授权不是
格式正确;它应该包含您的10个字符的应用程序ID种子,
后跟一个点,后跟您的包标识符:
0000000000.appname


< blockquote>


Bundle ID DistCertificateID.appname 已定义在您的Xcode项目
与您在iTunes中为此应用程序输入的Bundle ID不匹配
连接 appname


上面让我得出结论,可能提交的应用程序不正确地(?)到iTunesConnect,因为这是唯一的结论,对我有意义。



(为了参考,如果我正确理解了一切,我相信具体和通配符应用程序ID对我来说是适合的,因为我不需要使用inapp购买或任何类似的东西。 )



在iTunesConnect中提交应用程序时,我可以选择




  • Xcode iOS通配符应用程序ID - *

  • LongReadableName - com.example。*


$ b $我完全失去了我如何可以选择一个BundleID / BundleID后缀,它符合iTunesConnect(?)中写的内容,以及我现在在应用程序上传器中遇到的错误。任何人都可以指出我可以使用的值不会与应用程序上传器的要求相冲突?



...



最新更新#1



我决定删除使用通配符应用ID,因为我看到这会导致其他人的问题。因此,我在iTunesConnect中选择了另一个选项,从而将BundleID显示为 com.example.appname 。然后我确定1)我的配置使用 DistCertificateID.com.example。* 2)设置CFBunldeIdentifier(在Delphi中),如同iTunesConnect所示。然后我构建并部署,然后将其提交给Application Loader。导致错误消息:


您的Xcode项目$ b中定义的软件包ID com.example.appname $ b与您在iTunes中为此应用程序输入的Bundle ID不匹配
连接 com.example.appname


如您所见,捆绑ID现在是一样的,但仍然抱怨。我不明白为什么:(



最新更新#2



做一个小错字昨天晚上,当我尝试以上,猜猜我太累了以上解决方案工作!(我会做一个答案。)

解决方案

切换通配符应用程序ID为我工作,因此我在iTunesConnect中选择了另一个选项,从而将BundleID显示为com.example.appname,然后确认1)我的配置使用DistCertificateID。 com.example。* 2)设置CFBunldeIdentifier(在Delphi中),如同iTunesConnect所示。然后我构建并部署,然后将其提交给Application Loader。


As described in this SO entry, I am getting errors in iOS app Application Uploader.

These are the values I have:

in KeyChain I have this certificate:

iPhone Distribution: ExampleCompany (DistCertificateID)

In my developer.apple.com account I have defined app:

Name: LongReadableName 
Prefix: DistCertificateID 
ID: com.example.*

Name: Xcode iOS Wildcard App ID
Prefix: DistCertificateID 
ID: *

These are the errors I am getting:

This bundle is invalid. The application-identifier entitlement is not formatted correctly; it should contain your 10-character App ID Seed, followed by a dot, followed by your bundle identifier: 0000000000.appname

and

The Bundle ID DistCertificateID.appname defined in your Xcode Project does not match the Bundle ID that you entered for this app in iTunes Connect appname.

Above has let me to conclude I possible submitted the app incorrectly (?) to iTunesConnect since that is the only conclusion that makes any sense to me.

(For reference, and if I understood everything correctly, I believe both the specific and wildcard app ID is appropriate for me since I do not need to use inapp-purchases or anything like that.)

When submiting an app in iTunesConnect I can choose between

  • Xcode iOS Wildcard App ID - *
  • LongReadableName - com.example.*

I am completely lost on how I can ever choose a BundleID / BundleID Suffix that obeys both what is written in iTunesConnect (?) and the errors I am getting in Application Uploader right now. Could anyone point me to values I could use that would not collide with Application Uploader requirements?

...

Newest update #1

I decided to drop using wildcard app IDs since I can see that has caused other people problems. Hence I chose the other option in iTunesConnect resulting it in showing me BundleID as being com.example.appname. I then made sure 1) my provisioning for distribution used DistCertificateID.com.example.* 2) to set CFBunldeIdentifier (in Delphi) as same shown in iTunesConnect. I then built and deployed followed by submitting it to Application Loader. That resulted in error message:

The Bundle ID com.example.appname defined in your Xcode Project does not match the Bundle ID that you entered for this app in iTunes Connect com.example.appname.

As you can see, the bundle ID is now the same, but still it complains. I do not understand why :(

Newest update #2

I actually made a small typo error last night when I tried above. Guess I was too tired. Above solution works! (I will make it an answer.)

解决方案

Ditching the wildcard app ID worked for me. Hence I chose the other option in iTunesConnect resulting it in showing me BundleID as being com.example.appname. I then made sure 1) my provisioning for distribution used DistCertificateID.com.example.* 2) to set CFBunldeIdentifier (in Delphi) as same shown in iTunesConnect. I then built and deployed followed by submitting it to Application Loader.

这篇关于iOS应用程序包ID错误和iTunesConnect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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