1.利用 Application Loader 上傳時出現 ERROR ITMS-90087錯誤。app
ERROR ITMS-90087:"Unsupported Architectures.The executable for Demo.app/DemoSDK.framework contains unsupported architectures ‘[x86_64,i386]]."
解決方案:從新制做不包含支持模擬器的DemoSDK.framework。post
2.利用 Application Loader 上傳時出現 ERROR ITMS-90668錯誤。ui
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的選項。code
解決方案:同時支持或不支持bitcode。get
這種狀況通常是一些第三方的SDK出現bitcode的問題,能夠修改你的podfile文件,而後在pod install一下,it
步驟以下:1.添加如下代碼到你的podfile文件裏面去io
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一下,而後從新編譯打包便可完美解決.編譯