Xcode - Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store

前端 未结 7 1374
野性不改
野性不改 2020-12-07 13:03

I just got this error when submitting an app to the app store.

Does this mean I need to set ENABLE_BITCODE for all dependencies? I tried that but then got e

7条回答
  •  暖寄归人
    2020-12-07 13:49

    We were getting same error "Xcode - Error ITMS-90635 - Invalid Mach-O in bundle - submitting to App store" from last friday (3-june-2016) .. used the below mentioned 2 steps to get this done

    Step 1:
    Added code to pod file to mark 'ENABLE_BITCODE' = 'NO' in pods

    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
    

    Step 2:
    Marked 'ENABLE_BITCODE' = 'NO' in pods for the project

    Note: Tried with marking 'ENABLE_BITCODE' = 'YES' in pods and in my project too but as we are using twillio framework for calling which has a flag -read_only_relocs which does not allow compilation with 'ENABLE_BITCODE' = 'YES'. So if your app does not use any of such framework with -read_only_relocs then you can proceed with making 'ENABLE_BITCODE' = 'YES' as it will be good for your app.

提交回复
热议问题