嵌入式框架在iOS中上传问题

时间:2016-08-29 13:33:21

标签: ios xcode architecture frameworks itunesconnect

我试图上传一个带有第三方框架的项目,该框架被添加到"嵌入式二进制文件"项目设置中的选项卡。当我尝试将此项目上传到iTunes Connect时,我收到了以下错误。

Xcode版本是7.3.1。

ERROR ITMS-90086: "Missing 64-bit support. iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK or later. We recommend using the default "Standard Architectures" build setting for "Architectures" in Xcode, to build a single binary with both 32-bit and 64-bit support."
ERROR ITMS-90086: "Missing 64-bit support. iOS apps submitted to the App Store must include 64-bit support and be built with the iOS 8 SDK or later. We recommend using the default "Standard Architectures" build setting for "Architectures" in Xcode, to build a single binary with both 32-bit and 64-bit support."

ERROR ITMS-90087: "Unsupported Architectures. The executable for ****.app/Frameworks/JSONModel.framework contains unsupported architectures '[x86_64]'."
ERROR ITMS-90087: "Unsupported Architectures. The executable for ****.app/Frameworks/JSONModel.framework contains unsupported architectures '[x86_64]'."

ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'com.***.****'."
ERROR ITMS-90474: "Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'com.***.****'."

ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at ‘****.app/Frameworks/JSONModel.framework/JSONModel' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at ‘****.app/Frameworks/JSONModel.framework/JSONModel' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."

ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

ERROR ITMS-90203: "Invalid architecture: Apps that include an app extension and framework must support arm64."
ERROR ITMS-90203: "Invalid architecture: Apps that include an app extension and framework must support arm64."

WARNING ITMS-90080: "The executable 'Payload/****.app/Frameworks/JSONModel.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."
WARNING ITMS-90080: "The executable 'Payload/****.app/Frameworks/JSONModel.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."

1 个答案:

答案 0 :(得分:2)

第一个错误与您在项目“构建设置”中设置的体系结构有关。查看下面的屏幕截图以了解此类设置此外,如果您使用不支持64位的连接设备存档应用程序,则可能会出现该错误。 enter image description here