1. An ERROR ITMS-90087 error occurs when uploading with Application Loader.
ERROR ITMS-90087:"Unsupported Architectures.The executable for Demo.app/DemoSDK.framework contains unsupported architectures ‘[x86_64,i386]]."
Solution: Remake DemoSDK.framework without emulator support.
2. ERROR ITMS-90668 error occurs when uploading with Application Loader.
ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'Demo.app/Frameworks/DemoSDK.framework/DemoSDK' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."
Reason: DemoSDK.framework supports bitcode (YES) at compile time, and the Xcode version (such as 6.4) used by the packaged Demo.app does not have the option to set bitcode.
Solution: Both support or not support bitcode.
This situation is generally caused by bitcode problems in some third-party SDKs, you can modify your podfile file, and then install it in pod,
The steps are as follows: 1. Add the following code to your podfile
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
2. pod install it, and then recompile and package to solve it perfectly.