Not in a Git Directory
not in a git directory
执行时
brew install libtool automake autoconf nasm
遇到报错fatal: not in a git directory
解决方案
- 执行
brew -v
查看会有两个提示
根据提示执行
1
2git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core
git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask完成以上操作以后执行
1
arch -arm64 brew install cocoapods
-
感谢你赐予我前进的力量
赞赏者名单
因为你们的支持让我意识到写文章的价值🙏
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 View Room
评论