解决办法:要改Pods工程的iOS目标版本,从8.0改为11.0,但是,直接在Xcode上面改是不行的,
要改podfile文件,再执行pod install。
要添加的内容如下
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end