Created
May 4, 2021 19:24
-
-
Save prescindivel/d72bce6522240e4986aadad9fd6bb5e7 to your computer and use it in GitHub Desktop.
change pods target version
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
installer.pods_project.targets.each do |target| | |
target.build_configurations.each do |config| | |
if Gem::Version.new('9.0') > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']) | |
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment