warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but

Posted lude1994

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but相关的知识,希望对你有一定的参考价值。

 warning: The ios Simulator deployment target IPHONEOS_DEPLOYMENT_TARGET is set to 6.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target Reachability from project Pods)
    warning: The iOS Simulator deployment target IPHONEOS_DEPLOYMENT_TARGET is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target FMDB from project Pods)
    warning: The iOS Simulator deployment target IPHONEOS_DEPLOYMENT_TARGET is set to 4.3, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target Toast from project Pods)
    warning: The iOS Simulator deployment target IPHONEOS_DEPLOYMENT_TARGET is set to 7.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target AFNetworking from project Pods)
    warning: The iOS Simulator deployment target IPHONEOS_DEPLOYMENT_TARGET is set to 6.0, but the range of supported deployment target versions is 8.0 to 13.2.99. (in target libwebp from project Pods)

 

解决方法:在ios下的Podfile 文件的 post_install do |installer|部分进行以下的替换就会消失

post_install do |installer|
  installer.pods_project.targets.each do |target|
 target.build_configurations.each do |config|
  if config.build_settings[IPHONEOS_DEPLOYMENT_TARGET].to_f < 8.0
    config.build_settings[IPHONEOS_DEPLOYMENT_TARGET] = 8.0
     end
   end
  end
end

 

  参考:https://www.jianshu.com/p/226832903157

以上是关于warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 6.0, but的主要内容,如果未能解决你的问题,请参考以下文章

成功解决:WARNING: There was an error checking the latest version of pip.

warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in the cu

WARNING: The TCP backlog setting of 511.解决

-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

[转帖]Warning:detected "cgroupfs" as the Docker cgroup driver. The recommended driver is &qu