无法在 Mac OS X 10.11.5 El Capitan 上执行 pod init
Cannot perform pod init on Mac OS X 10.11.5 El Capitan
我目前正在尝试安装 Cocoapods 并将 Firebase 加载到我的 Xcode 项目中。我通过键入 sudo gem install -n /usr/local/bin cocoapods 正确安装了 Cocoapods(在另一个 Stack Overflow 问题上找到,但似乎找不到所有 cocoapods 命令。例如,当我键入 pod init 时甚至 pod install,它也找不到命令。
如有任何帮助,我们将不胜感激!
谢谢,
凯尔
升级到 OSX El Capitan 后,我需要关闭系统完整性保护并在 ElCapitan 中重新安装 cocoapods。
要关闭系统完整性保护,请按照以下说明操作
1) Reboot your mac and press “cmd+r” when booting up. This will cause
your mac to start in recovery mode.
2) Then go into utilities > terminal.
3) Execute the command below:- csrutil disable
4) Execute the command below:- reboot
要在 El Capitan 上重新安装 cocoapods,请点击以下链接,
https://gorails.com/setup/osx/10.11-el-capitan
https://github.com/CocoaPods/CocoaPods/issues/3692
我目前正在尝试安装 Cocoapods 并将 Firebase 加载到我的 Xcode 项目中。我通过键入 sudo gem install -n /usr/local/bin cocoapods 正确安装了 Cocoapods(在另一个 Stack Overflow 问题上找到,但似乎找不到所有 cocoapods 命令。例如,当我键入 pod init 时甚至 pod install,它也找不到命令。
如有任何帮助,我们将不胜感激!
谢谢, 凯尔
升级到 OSX El Capitan 后,我需要关闭系统完整性保护并在 ElCapitan 中重新安装 cocoapods。
要关闭系统完整性保护,请按照以下说明操作
1) Reboot your mac and press “cmd+r” when booting up. This will cause your mac to start in recovery mode.
2) Then go into utilities > terminal.
3) Execute the command below:- csrutil disable
4) Execute the command below:- reboot
要在 El Capitan 上重新安装 cocoapods,请点击以下链接,
https://gorails.com/setup/osx/10.11-el-capitan https://github.com/CocoaPods/CocoaPods/issues/3692