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

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.