Xcode升级13之后, cocoapods命令报错
作者:互联网
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=%5BXcodeproj%5D+Unknown+object+version.&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
/Users/XXX/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.8.0/lib/cocoapods/user_interface/inspector_reporter.rb:80: warning: URI.escape is obsolete
- RuntimeError - [Xcodeproj] Unknown object version.
https://github.com/CocoaPods/CocoaPods/issues/10984 [closed] [13 comments]
4 days ago
/Users/XXX/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.8.0/lib/cocoapods/user_interface/inspector_reporter.rb:80: warning: URI.escape is obsolete
- Unknown object version
https://github.com/CocoaPods/CocoaPods/issues/10973 [closed] [10 comments]
6 weeks ago
/Users/XXX/.rvm/gems/ruby-2.7.0/gems/cocoapods-1.8.0/lib/cocoapods/user_interface/inspector_reporter.rb:80: warning: URI.escape is obsolete
- RuntimeError - [Xcodeproj] Unknown object version.
https://github.com/CocoaPods/CocoaPods/issues/7458 [closed] [21 comments]
5 weeks ago
and 71 more at:
https://github.com/cocoapods/cocoapods/search?q=%5BXcodeproj%5D%20Unknown%20object%20version.&type=Issues&utf8=✓
原因:Pod版本与Xcode版本不兼容,按顺序执行下面执行即可。
sudo gem update --system
sudo gem install -n /usr/local/bin cocoapods
标签:13,github,com,Xcode,cocoapods,报错,https,CocoaPods,issues 来源: https://blog.csdn.net/qianlima210210/article/details/121302933