更新到Xcode14版本之后,pod install编译项目报错如下
172514870-5392036d-a052-45a6-bb06-c46fa83fdda9.png
解决办法:
///在Podfile最后加上即可
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CODE_SIGN_IDENTITY'] = 'NO'
end
end
end
更多详细解决办法参考:https://github.com/CocoaPods/CocoaPods/issues/11402
网友评论