App Store错误:您上传的二进制文件无效 [英] App Store error: The binary you uploaded was invalid
问题描述
臭名昭着的错误困扰着我在App Store中:你上传的二进制文件无效。签名无效,或者没有用Apple提交的证书签名。
The notorious error haunts me in App Store: "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate."
我采取的步骤:
1)我正在使用Monotouch / MonoDevelop。
2)应用程序适用于iPhone模拟器和设备。
3)我根据MonoTouch文档中的示例(使用Distribution profile)进行了分发构建。
4)我已经检查过xxxx.app包中包含embedded.mobileprovision文件。
5)我正在压缩(在OS X GUI中)应用程序包(仅限xxxx.app文件)。
6)我用命令codesign -vvvvv xxxx.app检查了xxxx.app文件的完整性
7)我已经清除了XCode Organizer和KeyChain中的所有密钥和配置文件,并添加了键/配置文件。
1) I'm using Monotouch / MonoDevelop. 2) App works on iPhone Simulator and on Device. 3) I've made the distribution build according to the examples in MonoTouch documentation (using Distribution profile). 4) I've checked that the xxxx.app package contains the file "embedded.mobileprovision". 5) I'm zipping (in OS X GUI) the app bundle (only the xxxx.app file). 6) I've checked the integrity of the xxxx.app file with command "codesign -vvvvv xxxx.app" 7) I've cleared all keys and profiles from XCode Organizer and KeyChain, and added keys/profiles again.
没有运气。
有什么想法吗?
No luck. Any ideas?
/ pom
推荐答案
确保您使用的是配置App Store的个人资料(不适用于特别发布)
Make sure you're using a provisioning profile for the App Store (not for Ad Hoc distribution)
然后在构建应用时选择此个人资料。
Then select this profile when building your app.
这篇关于App Store错误:您上传的二进制文件无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!