Member-only story

Turn off the bunch of warnings in XCode: the ios simulator deployment target ‘iphoneos_deployment_target’ is set to 8.0

Fredric Cliver
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

--

--

Fredric Cliver
Fredric Cliver

Written by Fredric Cliver

13+ years in the digital trenches. I decode complex tech concepts into actionable insights, focusing on AI, Software Engineering, and emerging technologies.

No responses yet