Created
April 11, 2019 07:46
-
-
Save d-date/309e82d6f866b4dd8930bce4f3c9c191 to your computer and use it in GitHub Desktop.
Specify swift version for each targets individually
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
pre_install do |installer| | |
installer.pod_targets.each do |target| | |
if ['Mockingjay', 'URITemplate'].include? target.name | |
target.root_spec.swift_version = '4.2' | |
else | |
target.root_spec.swift_version = '5.0' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment