Created
February 22, 2018 04:29
-
-
Save aaronpearce/d2e41a2d0844d78addf4ffd884e748ca to your computer and use it in GitHub Desktop.
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
// From https://twitter.com/nathan | |
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
plist_buddy = "/usr/libexec/PlistBuddy" | |
plist = "Pods/Target Support Files/#{target}/Info.plist" | |
`#{plist_buddy} -c "Add UIRequiredDeviceCapabilities array" "#{plist}"` | |
`#{plist_buddy} -c "Add UIRequiredDeviceCapabilities:0 string arm64" "#{plist}"` | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment