美文网首页
Xcode14 pod install之后编译报错的解决办法

Xcode14 pod install之后编译报错的解决办法

作者: 小海豚丶 | 来源:发表于2022-10-11 10:50 被阅读0次

更新到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

相关文章

网友评论

      本文标题:Xcode14 pod install之后编译报错的解决办法

      本文链接:https://www.haomeiwen.com/subject/crnaartx.html