Unable to use xcodebuild on Mavericks with Command Line Tools installed

前端 未结 9 1334
后悔当初
后悔当初 2020-12-07 14:34

I have installed the Command Line Tools:

$ xcode-select --print-path
/Library/Developer/CommandLineTools

However, when anything tries to us

9条回答
  •  攒了一身酷
    2020-12-07 15:08

    It appears that OSX has changed xcodebuild to require XCode to be installed, where before it functioned properly with only the OSX Command Line Tools installed.

    Old semi-related answer

    Many people ran into this with Node. Node's build tool, gyp, uses xcodebuild to prepare for compiling node packages. Mavericks has changed the behavior of xcodebuild so that it no longer works properly with gyp. This is being fixed at the moment. See the node-gyp issue

    Once the changes have been deployed to NPM, you will be able to install the new node-gyp package and compile properly. You will also need to update your NPM version once the changes are incorporated into NPM.

提交回复
热议问题