上传app易出现的错误

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一下,而后从新编译打包便可完美解决.编译

相关文章
相关标签/搜索