We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
DEPLOYMENT_VERSION = '9.0'.freeze DEPLOYMENT_TARGET_KEY = 'IPHONEOS_DEPLOYMENT_TARGET'.freeze PODS_MIN_DEPLOYMENT_VERSION = '9.0'.freeze platform :ios, DEPLOYMENT_VERSION target 'xxx' do ... end # https://github.com/CocoaPods/CocoaPods/issues/7314#issuecomment-489453484 def fix_deployment_targets(installer) installer.generated_projects.each do |project| project.targets.each do |target| target.build_configuration_list.build_configurations.each do |config| if config.build_settings[DEPLOYMENT_TARGET_KEY].to_f < PODS_MIN_DEPLOYMENT_VERSION.to_f config.build_settings[DEPLOYMENT_TARGET_KEY] = PODS_MIN_DEPLOYMENT_VERSION puts "Successfully set #{DEPLOYMENT_TARGET_KEY} of target #{target.name} for config #{config.display_name} to #{PODS_MIN_DEPLOYMENT_VERSION}" end end end end end post_install do |installer| fix_deployment_targets installer end
CocoaPods/CocoaPods#7314 (comment)
Sorry, something went wrong.
thank you for your help
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: