question:The iOS Simulator deployment target is set to 7.0, but the range of supported deployment target versions for this platform is 8.0 to 12.1
解决方法:
在Podfile里最底部添加下面代码
post_installdo|installer|
installer.pods_project.targets.eachdo|target|
target.build_configurations.eachdo|config|
ifconfig.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f <8.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] ='8.0'
end
end
end
end
网友评论