Created
November 10, 2019 00:42
-
-
Save jakeols/0624093d25358bfc7c148c45a1a6bb37 to your computer and use it in GitHub Desktop.
Set specific Swift version in Podfile
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| | |
installer.pods_project.targets.each do |target| | |
if ['POD', 'POD', 'POD'].include? target.name # !! SET PODS HERE !! | |
target.build_configurations.each do |config| | |
config.build_settings['SWIFT_VERSION'] = '3.2' # !! SET SWIFT VERSION HERE !! | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment