问题:
――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― ### Command ``` /Users/kyson/.rvm/rubies/ruby-3.0.0/bin/pod init ``` ### Report * What did you do? * What did you expect to happen? * What happened instead? ### Stack ``` CocoaPods : 1.11.2 Ruby : ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19] RubyGems : 3.2.3 Host : macOS 13.2.1 (22D68) Xcode : 14.2 (14C18) Git : git version 2.37.1 (Apple Git-137.1) Ruby lib dir : /Users/kyson/.rvm/rubies/ruby-3.0.0/lib Repositories : cocoapods - git - github.com/CocoaPods/S… @ 036602d7819c1a83f2683eee9f00dc6669a7dd1f Gojito-iOS-Repp - git - git@github.com:zjh171/Gojito-iOS-Repp.git @ 02803d57ecf3a9a0bf41e98e1df60448a4a046a1 TRZX_Repositories - git - github.com/TRZXDev/TRZ… @ e6d89f02e2dc66a860e81088d8b5af46c98c1882 zjh171 - git - github.com/zjh171/Goji… @ 02803d57ecf3a9a0bf41e98e1df60448a4a046a1 ``` ### Plugins ``` cocoapods-bin : 0.1.30 cocoapods-deintegrate : 1.0.4 cocoapods-generate : 1.4.1 cocoapods-packager : 1.5.0 cocoapods-plugins : 1.0.0 cocoapods-search : 1.0.0 cocoapods-trunk : 1.5.0 cocoapods-try : 1.2.0 ``` ### Error ``` RuntimeError - [Xcodeproj] Unknown object version (56). /Users/kyson/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:228:in `initialize_from_file' /Users/kyson/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:113:in `open' /Users/kyson/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.2/lib/cocoapods/command/init.rb:41:in `validate!' /Users/kyson/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/claide-1.0.3/lib/claide/command.rb:333:in `run' /Users/kyson/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run' /Users/kyson/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0/gems/cocoapods-1.11.2/bin/pod:55:in `<top (required)>' /Users/kyson/.rvm/rubies/ruby-3.0.0/bin/pod:23:in `load' /Users/kyson/.rvm/rubies/ruby-3.0.0/bin/pod:23:in `
' /Users/kyson/.rvm/rubies/ruby-3.0.0/bin/ruby_executable_hooks:22:in `eval' /Users/kyson/.rvm/rubies/ruby-3.0.0/bin/ruby_executable_hooks:22:in `' ``` ――― TEMPLATE END ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― [!] Oh no, an error occurred. Search for existing GitHub issues similar to yours: github.com/CocoaPods/C… If none exists, create a ticket, with the template displayed above, on: github.com/CocoaPods/C… Be sure to first read the contributing guide for details on how to properly submit a ticket: github.com/CocoaPods/C… Don't forget to anonymize any private data! Looking for related issues on cocoapods/cocoapods... - Pod init in xcode 14.1 and mac os ventura 13.0.1 github.com/CocoaPods/C… [open] [19 comments] 2 days ago - pod init after update it to XCODE 14 github.com/CocoaPods/C… [open] [21 comments] 3 days ago - 'pod init' and 'pod install' both fail with "can't modify frozen String (FrozenError)" github.com/CocoaPods/C… [closed] [3 comments] 2 weeks ago and 11 more at: github.com/cocoapods/c…解决方案: