Disable bitcode for project and cocoapods dependencies with Xcode 7?

To set this setting in a way that doesn’t get overridden each time you do a pod install you can add this to your Podfile

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

Leave a Comment