Static Libraries, Frameworks, and Bitcode
Heitor T. Sergent
779

Thanks! This was pretty darned helpful. For Cocoapods, you can edit your Podfile to automatically add the BITCODE_GENERATION_MODE setting for each target:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.name == 'Debug'
        config.build_settings['BITCODE_GENERATION_MODE'] = 'marker'
      else
        config.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
      end
    end
  end
end

This way, you don’t have to manually modify project files after updating your pods.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.