赞
踩
运行项目时报错
Build target FMDB of project Pods with configuration Debug
/Users/quark/Documents/ati-teas-prep/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 12.0 to 17.2.99. (in target 'FMDB' from project 'Pods')
clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target
Pod导入框架时,要为对应target指定平台和版本platform :ios, '14.0',再指定一下最低部署目标IPHONEOS_DEPLOYMENT_TARGET=14.0,重新pod install就可以了不用去pods列表一个一个框架去修改最低支持14。
- target 'ATITEAS' do
- platform :ios, '14.0'
- # Comment the next line if you don't want to use dynamic frameworks
- use_frameworks!
-
- # Pods for ATITEAS
- pod 'Moya'
- pod 'SwiftyStoreKit', '0.16.1'
- pod 'FMDB'
-
- end
-
- post_install do |installer|
- installer.pods_project.targets.each do |target|
- target.build_configurations.each do |config|
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
- end
- end
- end
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。