Created
September 26, 2018 00:25
-
-
Save MaherKSantina/838361ef9079ed56d5f903fd90f322c6 to your computer and use it in GitHub Desktop.
Change the version number of dependencies in a 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
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
if ['RxSwift', 'RxCocoa', 'RxAlamofire', 'RxTest', 'RxBlocking'].include? target.name | |
target.build_configurations.each do |config| | |
config.build_settings['SWIFT_VERSION'] = '3.3' | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment