pod install报错

报错内容/Users/xxx/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface/error_report.rb:34:in `force_encoding':can't modify frozen String (FrozenError)

......

from /Users/xxx/.gem/ruby/2.6.0/gems/cocoapods-1.11.3/bin/pod:55:in `'

from /usr/local/bin/pod:23:in `load'

from /usr/local/bin/pod:23:in `

'

解决办法

将项目打开,在项目设置修改右边栏中的Project Format为比Xcode 14.0-compatible更低就可以了

你可能感兴趣的:(cocoapods,ios,xcode,13)