Last active
January 31, 2017 15:56
-
-
Save guruguruman/20ea3914c77395e23b8746016e9cde2b to your computer and use it in GitHub Desktop.
Forcedly set CocoaPods Build Only Architecture to NO hooking`post_install`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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