After updating XCODE-14 and whereas working pod init I get 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 <predominant>' 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 <predominant>' 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 <high (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/challenge.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/challenge.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 <predominant>' 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 <predominant>' 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 <high (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)