IPHONEOS_DEPLOYMENT_TARGET is set to 8.0, but the range of supported deployment

这里有解决方法这里记录一下。

  • 解决方法一(我使用的是这种方法):
Code Block 
post_install do |installer|
 installer.pods_project.targets.each do |target|
  target.build_configurations.each do |config|
   config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
  end
 end
end
  • 解决方法二:
post_install do |installer|
 installer.pods_project.targets.each do |target|
  target.build_configurations.each do |config|
   config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
  end
 end
end

你可能感兴趣的:(IPHONEOS_DEPLOYMENT_TARGET is set to 8.0, but the range of supported deployment)