git 采用token 和 pod install失败

GIT 使用token,然后通过git命令配置

git config --global user.password xxxxxx

https://zhuanlan.zhihu.com/p/414028184

pod install 报错

ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory.

------解决

brew reinstall cocoapods

brew link --overwrite cocoapods

pod install

posted on 2022-03-28 20:35  马大哈哈  阅读(82)  评论(0)    收藏  举报

导航