相关疑难解决方法(0)

工具“xcodebuild”需要 Xcode,但活动开发者目录“/Library/Developer/CommandLineTools”是命令行工具实例

这与xcode-select 活动开发人员目录错误非常相似,但这些解决方案都不适合我。

$ sudo xcode-select --reset
$ sudo xcodebuild -license accept                                  
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
$ sudo xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Run Code Online (Sandbox Code Playgroud)

我的机器上什至没有 xcode。

xcode npm

5
推荐指数
3
解决办法
1万
查看次数

标签 统计

npm ×1

xcode ×1