[英]Error when uploading new iPad app version: “iPad: application executable contains unsupported architecture(s): i386”
I'm trying to update my iPad app on the App Store. 我正在尝试在App Store上更新我的iPad应用程序。 I filled out the "new version" form on iTunes Connect and then tried to upload the new version with Application Loader. 我在iTunes Connect上填写了“新版本”表格,然后尝试使用Application Loader上传新版本。 It rejected the .zip file giving me three errors. 它拒绝了.zip文件,给了我三个错误。
I had changed the "Bundle Version" line in the Info.plist file to 1.1, and added "Bundle versions string, short" (also 1.1). 我已将Info.plist文件中的“捆绑软件版本”行更改为1.1,并添加了“捆绑软件版本字符串,短”(也为1.1)。 Then I build the .app file, and zipped it up with the .mobileprovision file. 然后,我构建.app文件,并将其与.mobileprovision文件压缩在一起。
The zip file: Chordpad.zip 压缩文件: Chordpad.zip
Contains: ChordPad.app, ChordPad_Distribution.mobileprovision 包含: ChordPad.app,ChordPad_Distribution.mobileprovision
These are the errors Application Loader is giving me: 这些是Application Loader给我的错误:
1. iPad: application executable contains unsupported architecture(s): i386 1. iPad:应用程序可执行文件包含不受支持的体系结构:i386
2. Application failed codesign verification. 2.应用程序代码签名验证失败。 The signature was invalid, or it was not signed with an Apple submission certificate. 签名无效,或者未使用Apple提交的证书签名。
3. Unable to extract codesigning entitlements from your application. 3.无法从您的应用程序中提取代码签名权利。 Please make sure ChordPad.app is a valid Mach executable that's properly codesigned. 请确保ChordPad.app是经过正确代码签名的有效Mach可执行文件。
As far as I know, all my certificates are valid. 据我所知,我所有的证书都是有效的。 Could anyone please help me fix this? 谁能帮我解决这个问题?
If the i386 architecture is being used, you are probably building for the simulator. 如果使用的是i386体系结构,则可能是在构建模拟器。 Switch to device to get the arm architectures. 切换到设备以获取手臂架构。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.