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

556 ワード

ここに解決策があります.ここに記録してください.
  • 解決策一(私が使っているのはこの方法):
  • 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