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

重新打包上傳,解決.

?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容