Member-only story
Turn off the bunch of warnings in XCode: the ios simulator deployment target ‘iphoneos_deployment_target’ is set to 8.0
Oct 20, 2020
Original warning sample
the ios simulator deployment target ‘iphoneos_deployment_target’ is set to 8.0
The way to turn off
target 'SomeTests' do
pod 'Alamofire'
pod 'ObjectMapper' # pod 'AlamofireObjectMapper'
pod 'AlamofireImage'
end
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |bc|
if bc.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] == '8.0'
bc.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
end