无法上传应用-'上传到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.

我已经尝试通过管理器(首选方法)和应用程序加载器进行尝试,但都提供了模糊的错误消息.

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

但没有其他信息.所以我真的不知道有什么问题.我已经向Apple提出了上诉,但目前还没有.

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...

谢谢!

迈克尔

您需要将存档方案的构建配置更改为分发或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.