Xcode is not currently available from the Software Update server

后端 未结 15 2372
[愿得一人]
[愿得一人] 2020-11-28 02:01

I have problems with my macport after update to OS X 10.9.

I try to follow this manual https://trac.macports.org/wiki/Migration to fix them.

But when I inst

15条回答
  •  攒了一身酷
    2020-11-28 03:00

    I deleted the command tools directory given by xcode-select -p due to npm gyp error.

    xcode-select failed to install the files with the not available error.

    I ran the Xcode application and the command tools installed as part of the startup.

    npm worked.

    However this didn't fully fix the tools. I had to use xcode-select to switch the path to the Developer directory within the Xcode application directory.

    sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer  
    

    MacOS catalina.

提交回复
热议问题