Created
April 20, 2019 05:32
-
-
Save lanserxt/7857a3794148865dd1ec1252beddf533 to your computer and use it in GitHub Desktop.
Cocoapods Swift version setup for specific Pod
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
#insert after all pods declaring (just put at the bottom of a file) | |
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
if target.name == 'POD_NAME_HERE' | |
target.build_configurations.each do |config| | |
config.build_settings['SWIFT_VERSION'] = '4.0' | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment