將下述內(nèi)容添加在PodFile內(nèi)容里的最下方深浮,重新執(zhí)行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'] = '9.0'
end
end
end
NOTE:注意 ['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0' 中的版本號要與你的 platform :ios, '9.0' 一致