Created
October 2, 2018 01:35
-
-
Save nebiros/04829acf5c7d43ebba87f64371f0556a to your computer and use it in GitHub Desktop.
Set swift version for a specific pod
This file contains hidden or 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| | |
next unless %w[NonSwift42Pod].include? target.name | |
target.build_configurations.each do |config| | |
config.build_settings["SWIFT_VERSION"] = "4.0" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment