swift之xcode升级后由于(Reachability)pod库导致项目报错的解决方案
1.将以下代码贴到Podfile文件里
#Fix Xcode14 Bundle target error
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
config.build_settings['ENABLE_BITCODE'] = "NO"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '工程版本号'
end
end
end
2.重新pod install