pod install error

Error content /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 `<top (required)>'

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

from /usr/local/bin/pod:23:in `<main>'

Solution

Open the project and modify the Project Format in the right column in the project settings to be lower than Xcode 14.0-compatible

おすすめ

転載: blog.csdn.net/ZhaiAlan/article/details/131591362