1.利用 Application Loader 上传时出现 ERROR ITMS-90087错误。
ERROR ITMS-90087:"Unsupported Architectures.The executable for Demo.app/DemoSDK.framework contains unsupported architectures ‘[x86_64,i386]]."
解决方案:重新制作不包含支持模拟器的DemoSDK.framework。
2.利用 Application Loader 上传时出现 ERROR ITMS-90668错误。
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."
原因:DemoSDK.framework在编译时支持了bitcode(YES),而打包的Demo.app使用的Xcode版本(如6.4)没有设置bitcode的选项。
解决方案:同时支持或不支持bitcode。
这种情况一般是一些第三方的SDK出现bitcode的问题,可以修改你的podfile文件,然后在pod install一下,
步骤如下:1.添加以下代码到你的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一下,然后重新编译打包即可完美解决.