解決方案:
將下述內容添加在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'] = '8.0'
end
end
end
注意:修改版本號與你的 platform :ios, '8.0' 一致。