无法上传应用程序 - '上传到 iTunes 商店时出错'

无法上传应用程序 - '上传到 iTunes 商店时出错'

问题描述:

我正在尝试将我的应用上传到商店.这不是第一次,所以我熟悉这个过程.

I'm trying to upload my app to the store. This isn't the first time so I'm familiar with the process.

我已经通过 Organizer(首选方法)和 Application Loader 进行了尝试,但都提供了模糊的错误消息.

I've tried both through the Organizer (preferred method) and the Application Loader, but both offer vague error messages.

我最近更新到 Xcode 4 以尝试修复它.我的存档项目验证一切正常,但在点击提交后不久,我收到一条错误消息:

I've recently updated to Xcode 4 in an attempt to fix it. My archived project validates fine and everything, but shortly after hitting submit, I get an error saying:

上传到 iTunes 商店时发生错误

An error occurred uploading to the itunes store

但没有其他信息.所以我真的不知道哪里出了问题.我已经向苹果提出上诉,但还没有.

But no other info. So I really don't know what could be wrong. I've appealed to Apple but nothing yet.

可能有什么问题?

我可能应该提到我的项目有 2 个目标,但我有两个目标的配置文件,用于开发和分发,所以不明白为什么会出现问题.据我所知,这是该项目唯一不寻常的事情.苹果也没有任何消息......

I should probably mention that my project has 2 targets, but I have provisioning profiles for both, both for development and distribution, so can't see why this would be a problem. It's the only unusual thing about the project as far as I can tell. Still no word from Apple either...

谢谢!

迈克尔

您需要将您的存档方案的构建配置更改为 Distribution 或 smth.像这样.

You need to change your Build Configuration for your Archive Scheme to Distribution or smth. like this.

为此,请转到产品">编辑方案",然后在左侧找到存档方案.

For this, go to Product > Edit Scheme and on the left side you'll find the Archive-Scheme.

检查您是否已将所有内容(如权利)添加到您的项目中,以及您是否已将其添加到您的配置中.还要检查基础 SDK 和配置的代码签名选项.如果你已经这样做了,它应该真的有效.

Check if you've added everything to your project like Entitlements, and wether you've added this to your configuration. Check also the Base SDK and the code signing options of your configuration. If you've done this, it should really work.