xcode 应用商店提交流程(BundleID)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9221217/
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
app store submit process (BundleID)
提问by danijepg
Just a simple question about the submit process for AppSore using Xcode 4 (I know already asked, but didn't work for me).
只是一个关于使用 Xcode 4 提交 AppSore 过程的简单问题(我知道已经问过了,但对我不起作用)。
I have my app ready for publish. I have all my certificates, and I can see my provisioning profile with an ID such as xxxxxxx.com.blabla.App
.
我已准备好发布应用程序。我有我所有的证书,我可以看到我的配置文件,其中包含一个 ID,例如xxxxxxx.com.blabla.App
.
If I set my Xcode project identifier to com.blabla.App
I can select my distribution certificate (it indicates "for Application Identifiers com.blabla.App
").
如果我将我的 Xcode 项目标识符设置为com.blabla.App
我可以选择我的分发证书(它表示“用于应用程序标识符com.blabla.App
”)。
The project compiles but when I try to submit the App I get the following error
项目编译但当我尝试提交应用程序时出现以下错误
The bundle ID com.blabla.App" defined in your Xcode Project does not match the Bundle ID you entered for this app in iTunes connect xxxxxx.com.blabla.App.
您的 Xcode 项目中定义的捆绑 ID com.blabla.App”与您在 iTunes connect xxxxxx.com.blabla.App 中为此应用输入的捆绑 ID 不匹配。
If I try to use this bundle (xxxxxx.com.blabla.App
) in the Xcode project, then I cannot select the certificated, is for (com.blabla.App
) apps.
如果我尝试xxxxxx.com.blabla.App
在 Xcode 项目中使用此包 ( ),则无法选择已认证的,适用于 ( com.blabla.App
) 应用程序。
I know the solution should be very simple, but, It's mu first time :).
我知道解决方案应该很简单,但是,这是第一次:)。
thanks
谢谢
采纳答案by Nikola Kirev
Are you saying, that the Bundle ID in iTunes Connect and the one in your project settings are different from one another? If so, you should make them identical. My advise is to remove remove the app from iTunes connect and go trough the setup from start. When you do it, make sure you enter the same App ID as the one in Xcode.
您是说 iTunes Connect 中的 Bundle ID 和您项目设置中的 Bundle ID 彼此不同吗?如果是这样,您应该使它们相同。我的建议是从 iTunes 连接中删除该应用程序,然后从头开始进行设置。执行此操作时,请确保您输入的 App ID 与 Xcode 中的 App ID 相同。
Good luck!
祝你好运!
回答by raycchan
Just spent 12 hours resolving this so thought I would contribute my 2 cents:
刚刚花了 12 个小时解决这个问题,所以我想我会贡献我的 2 美分:
- The Bundle Identifier should be com.companyname.appname - this has to be the same as the Bundle ID when you create your app in iTunes Connect
- Your Bundle Seed ID (App ID Prefix) ie. 10 digit code SHOULD NOT be entered into xcode nor the bundle ID when creating your app above. The only place you will see it is the App ID within PROVISIONING PORTAL > App IDs. This was very confusing - basically just enter the above (com.companyname.appname) for App ID SUFFIX
- Bundle Identifier 应该是 com.companyname.appname - 这必须与您在 iTunes Connect 中创建应用程序时的 Bundle ID 相同
- 您的捆绑种子 ID(应用 ID 前缀)即。在上面创建应用程序时,不应将 10 位代码输入到 xcode 或包 ID 中。您唯一能看到它的地方是 PROVISIONING PORTAL > App IDs 中的 App ID。这非常令人困惑 - 基本上只需为 App ID SUFFIX 输入上面的 (com.companyname.appname)
FYI the order from scratch should be:
仅供参考,从头开始的顺序应该是:
- Get Certificates for Developer and Distribution in Provisioning Portal > Certificates
- Create APP IDs in Provisioning Portal > App ID
- Create Provisioning profile for Dev and Distr in Provisioning Portal > Provisioning
- Finally create the app in iTunes Connect
- 在 Provisioning Portal > Certificates 中获取开发者和分发证书
- 在 Provisioning Portal > App ID 中创建 APP ID
- 在供应门户 > 供应中为 Dev 和 Distr 创建供应配置文件
- 最后在 iTunes Connect 中创建应用程序
oh and in case you delete your app but lose your name: http://hesh.am/2012/01/recovering-a-deleted-app-name-in-itunes-connect/
哦,万一你删除了你的应用程序但失去了你的名字:http: //hesh.am/2012/01/recovering-a-deleted-app-name-in-itunes-connect/
回答by Hiren
just visit apple developer forum or try out some good blog lonk like part 1part2or use ray wenderlich tutorial to submit app on iTunes Store
只需访问苹果开发者论坛或尝试一些好的博客 lonk,如第 1 部分第 2部分或使用 ray wenderlich 教程在iTunes Store上提交应用程序