Skip to content

Instantly share code, notes, and snippets.

@jakeols
Created November 10, 2019 00:42
Show Gist options
  • Save jakeols/0624093d25358bfc7c148c45a1a6bb37 to your computer and use it in GitHub Desktop.
Save jakeols/0624093d25358bfc7c148c45a1a6bb37 to your computer and use it in GitHub Desktop.
Set specific Swift version in Podfile
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