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

重新打包上传,解决.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容