pod 倒入 老版本的三方框架后報(bào)錯(cuò),比如?HandyJSON、MBProgressHUD
File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
Linker command failed with exit code 1 (use -v to see invocation)
版本兼容問(wèn)題,修改方法:?在Podfile文件中?target 'x x x' do 的上方?添加以下代碼后,重新執(zhí)行 pod install
#編譯兼容老版本 ?iOS11.0
post_installdo|installer|
? installer.pods_project.targets.eachdo|target|
? ? target.build_configurations.eachdo|config|
? ? ? ifconfig.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f <11.0
? ? ? ? config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] ='11.0'
? ? ? end
? ? end
? end
end