AVOSCloudDynamic v3.3.5
AVOSCloudIMDynamic v3.3.5
LeanCloudSocialDynamic v0.0.9

真机和模拟器里都正常,打包ipa后也可以通过第三方工具安装至真机使用,但正式上传App Store时, 出现以下错误:
1 package(s) were not uploaded because they had problems:
/var/folders/7q/fywdj8xj577f0j9y54xy_s1m0000gn/T/CEC978D8-B2B9-4D87-ABE2-5810B24244B8/1134863198.itmsp - Error Messages:
ERROR ITMS-90087: "Unsupported Architectures. The executable for xx.app/Frameworks/AVOSCloud.framework contains unsupported architectures '[x86_64, i386]'."
ERROR ITMS-90087: "Unsupported Architectures. The executable for xx.app/Frameworks/AVOSCloudIM.framework contains unsupported architectures '[x86_64, i386]'."
ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: 'true' for the key 'get-task-allow' in 'Payload/xx.app/xx'"
ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for key 'aps-environment' in 'Payload/xx.app/xx' is not supported."
ERROR ITMS-90159: "Invalid provisioning profile. This app contains an embedded provisioning profile that is not associated with your account. Please use a provisioning profile associated with Team ID xxxxxxxxxx."
ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle com.xxx.xxx [xx] is invalid. [Expired profile.] For more information, visit the iOS Developer Portal."
ERROR ITMS-90179: "Invalid Code Signing. The executable 'Payload/xx.app/Frameworks/AVOSCloud.framework/AVOSCloud' must be signed with the certificate that is contained in the provisioning profile."
ERROR ITMS-90179: "Invalid Code Signing. The executable 'Payload/xx.app/Frameworks/AVOSCloudIM.framework/AVOSCloudIM' must be signed with the certificate that is contained in the provisioning profile."
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'xx.app/Frameworks/AVOSCloud.framework/AVOSCloud' 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 'xx.app/Frameworks/AVOSCloudIM.framework/AVOSCloudIM' 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."


和这个问题类似

卡在上线这一步 很急 请问该怎么解决?@ycui @jfeng @ttang

您好,我们会全力配合你上架。这个问题是早期 SDK 的一个遗留问题,是由于 framework 签名的问题产生的。最简单的方式是升级 SDK 至 3.4.0 及以上。API 都没有变化。比较复杂的方式是对 AVOSCloud.framework 及其他 frameworks 用你的签名证书进行手动强制签名。或者使用 https://github.com/x43x61x69/codeunsign29 这个工具尝试将 framework 中的签名去掉。

您好,我目前已经成功上架了,解决方法是把动态库全都替换成了静态库。