其他分享
首页 > 其他分享> > xcode13 RuntimeError - [Xcodeproj] Unknown object version.

xcode13 RuntimeError - [Xcodeproj] Unknown object version.

作者:互联网

pod install报错

RuntimeError - [Xcodeproj] Unknown object version.

这是因为本地的 Xcode 版本和 CocoaPods 的版本不匹配,需要更新 CocoaPods

 

解决方案

更新cocoapods

gem install cocoapods --pre

提示没权限

You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.

增加权限

sudo gem install -n /usr/local/bin cocoapods --pre

再次install

pod install

标签:xcode13,pre,Xcodeproj,Unknown,RuntimeError,install,pod,cocoapods
来源: https://www.cnblogs.com/yang-shuai/p/16458632.html