Skip to content

Instantly share code, notes, and snippets.

@MaherKSantina
Created September 26, 2018 00:25
Show Gist options
  • Save MaherKSantina/838361ef9079ed56d5f903fd90f322c6 to your computer and use it in GitHub Desktop.
Save MaherKSantina/838361ef9079ed56d5f903fd90f322c6 to your computer and use it in GitHub Desktop.
Change the version number of dependencies in a pod
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