After updating Xcode 14 and whereas operating pod init I get the next error:

(base) shahrukh@percrymbp TestApp_uikit % pod init
Traceback (most up-to-date name final):
    9: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<major>'
    8: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
    7: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/pod:23:in `<major>'
    6: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/pod:23:in `load'
    5: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/bin/pod:55:in `<prime (required)>'
    4: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run'
    3: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:333:in `run'
    2: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/lib/cocoapods/command/init.rb:41:in `validate!'
    1: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/xcodeproj-1.21.0/lib/xcodeproj/undertaking.rb:113:in `open'
/Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/xcodeproj-1.21.0/lib/xcodeproj/undertaking.rb:228:in `initialize_from_file': [Xcodeproj] Unknown object model (56). (RuntimeError)
    11: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<major>'
    10: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval'
     9: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/pod:23:in `<major>'
     8: from /Customers/shahrukh/.rvm/gems/ruby-2.7.0/bin/pod:23:in `load'
     7: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/bin/pod:55:in `<prime (required)>'
     6: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run'
     5: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:324:in `run'
     4: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:337:in `rescue in run'
     3: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:396:in `handle_exception'
     2: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:66:in `report_error'
     1: from /Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/lib/cocoapods/user_interface/error_report.rb:34:in `report'
/Customers/shahrukh/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/cocoapods-1.11.2/lib/cocoapods/user_interface/error_report.rb:34:in `force_encoding': cannot modify frozen String: "[Xcodeproj] Unknown object model (56)." (FrozenError)