xcode 14 업데이트 이후 pod init 에러
문제 상황
1) pod init을 실행할 때,
2) Podfile이 생성되기를 기대했지만
3) 다음과 같은 에러가 발생하였음
RuntimeError - [Xcodeproj] Unknown object version (56).
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:228:in initialize_from_file' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/xcodeproj-1.21.0/lib/xcodeproj/project.rb:113:in
open'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/init.rb:41:in validate!' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:333:in
run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in run' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in
'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in load' /opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in
해결책:
xcode를 열고 project format을 14.0에서 13.0으로 변경한다.