大晚上装CocoaPods出现错误坑爹
[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master
xcrun: error: active developer path ("/Users/xiakejie/工具/Xcode 2.app/Contents/Developer") does not exist, use xcode-select to change
解决上面这个问题,使用这个命令: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
本文介绍了一种常见的CocoaPods安装过程中遇到的错误:执行pod命令时提示'activedeveloperpath'不存在。文章提供了一个简单的解决方案,通过使用'sudoxcode-select-switch'命令来指定正确的Xcode路径。

3581

被折叠的 条评论
为什么被折叠?



