上传app易出现的错误

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一下,然后重新编译打包即可完美解决.

转载于:https://my.oschina.net/u/2418271/blog/840101

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值