Skip to content

Instantly share code, notes, and snippets.

@jeksys
Created July 3, 2019 01:30
Show Gist options
  • Save jeksys/4d63224f6b6d8f5c9ca1b8d1500afcb6 to your computer and use it in GitHub Desktop.
Save jeksys/4d63224f6b6d8f5c9ca1b8d1500afcb6 to your computer and use it in GitHub Desktop.
Pod set pod name to a specific pod version
post_install do |installer|
installer.pods_project.targets.each do |target|
if ['Pod name'].include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.2'
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment