Skip to content

Instantly share code, notes, and snippets.

@guruguruman
Last active January 31, 2017 15:56
Show Gist options
  • Save guruguruman/20ea3914c77395e23b8746016e9cde2b to your computer and use it in GitHub Desktop.
Save guruguruman/20ea3914c77395e23b8746016e9cde2b to your computer and use it in GitHub Desktop.
Forcedly set CocoaPods Build Only Architecture to NO hooking`post_install`
post_install do |installer|
pods_project = installer.pods_project
pods_project.build_configurations.each do |configuration|
pods_project.build_settings(configuration.name)['ONLY_ACTIVE_ARCH'] = 'NO'
end
puts "Forcedly set CocoaPods project `Pods`’s `Build Only Architecture` to `NO`”
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment