Last active
October 30, 2018 09:59
-
-
Save LeonardoCardoso/44ee8f43a8b7f223e4f8 to your computer and use it in GitHub Desktop.
Podfile Snippet: 'Build Active Architecture Only' to 'NO' and 'Valid Architectures' to '$(ARCHS_STANDARD)' to all pods
This file contains hidden or 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
# insert this at the end of your Podfile | |
post_install do |installer| | |
installer.project.targets.each do |target| | |
target.build_configurations.each do |configuration| | |
target.build_settings(configuration.name)['ARCHS'] = '$(ARCHS_STANDARD)' # it sets 'Valid Architectures' to '$(ARCHS_STANDARD)' to all pods | |
target.build_settings(configuration.name)['ONLY_ACTIVE_ARCH'] = 'NO' # it sets 'Build Active Architecture Only' to 'NO' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment