Skip to content

Instantly share code, notes, and snippets.

@nbomberger
Forked from funroll/Podfile-snippet
Last active August 29, 2015 14:07
Show Gist options
  • Save nbomberger/914a1340b8a8f0a5a2e8 to your computer and use it in GitHub Desktop.
Save nbomberger/914a1340b8a8f0a5a2e8 to your computer and use it in GitHub Desktop.
This is an improved version that combines the above two versions and works for Xcode 5.1.1. Based on the (updated) original by Cameron Spickert.
# Remove 64-bit build architecture from all pod targets and override 'Build Active Architecture Only' to NO.
post_install do |installer|
installer.project.targets.each do |target|
target.build_configurations.each do |configuration|
target.build_settings(configuration.name)['VALID_ARCHS'] = '$(ARCHS_STANDARD_32_BIT)'
target.build_settings(configuration.name)['ONLY_ACTIVE_ARCH'] = 'NO'
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment