ERROR ITMS-90635

iOS打包上传出现了 ERROR ITMS-90635的错误,按照要求,修改enable bitcode

项目->targets->enable bitcode->no
pods->project->enable bitcode->no

可惜,并无效果.
后续查到可以在 Podfile文件中,增加如下代码进行处理:

platform :ios, '9.0'
use_frameworks!

target 'XXXX' do
    pod 'XXXXXX'
end

# 实现post_install Hooks
post_install do |installer|
  # 1. 遍历项目中所有target
  installer.pods_project.targets.each do |target|
    # 2. 遍历build_configurations
    target.build_configurations.each do |config|
      # 3. 修改build_settings中的ENABLE_BITCODE
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end

重新打包上传,解决.

你可能感兴趣的:(ERROR ITMS-90635)