Installation error only for terminal to select xcode in Sierra

Attempts to install command line development tools using xcode-select --install simply return the following error: xcode-select: note: install requested for command line developer tool but when the dialog box asks me to confirm my request, it says that it failed due to network problems. Obviously, I am on the network, I think the problem is that it does not connect correctly to the correct network.

I saw in similar streams that on 10.12 Sierra that command line tools can be installed / updated via the Mac App Store, but after my wireless card and some other components have been replaced in my MacBook Pro, I can no longer connect to App Store (or iCloud and iTunes or iBooks) without receiving an error saying that my device cannot be verified. I told Apple Support to perform the uninstall and reinstall to solve the problem, but that did not work.

This is why I am trying to find a method for installing command line tools directly from a terminal that does not require access to the App Store. xcode-select --install` works fine on El Capitan and below, so I hope this feature is still available, even if the command is different.

Can someone help me or point out an alternative solution? If not, I think I will have to refuse.

+5
source share
1 answer

I looked at the Apple Developer website and found a tool download for all versions of Xcode. You need an iCloud ID to download, but not a paid developer account.

https://developer.apple.com/download/more/

+4
source

Source: https://habr.com/ru/post/1257552/


All Articles