报错:link command failed with exit code 1(use -v to see invocaiton)
原因:新版本Xcode删除了特定目录下的一些文件
解决:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# xcode 14.3 不再支持iOS11以下版本
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 11.0
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
end