

For me ~13mins.Īfter that your issues with P圜harm, git, brew and likely other tools will be resolved. Then agree to it and it should download after a couple of minutes. Then install the command line tools (CLT) again: xcode-select -install Output xcode-select: error: unable to get active developer directory, use `sudo xcode-select -switch path/to/Xcode.app` to set one (or see `man xcode-select`) So do ( source): sudo rm -rf /Library/Developer/CommandLineToolsĬheck it uninstalled, you should get an output as follows: xcode-select -p What I suggest is to uninstall the command line tools (CLT) and re-install them the official way. Homebrew Ruby: 2.3.3 => /System/Library/Frameworks/amework/Versions/2.3/usr/bin/ruby CLT is now installed and homebrew is detecting it just fine.īrew Config now: HOMEBREW_VERSION: 1.5.14 I downloaded the CLT as a pkg from the apple developer website ( ) and installed it the old fashioned way. Leaving it here if anyone else has the same problem in the future:ĭoing xcode-select -install showed everything as being installed correctly but I just couldn't confirm that anywhere. The Apple software company also includes the Swift. There is currently no version of Apple Xcode for Linux however, I anticipate that it will be available in the near future. Installing Xcode and Swift on Ubuntu is not possible because both versions have not yet been released. found a solution which I should have tried a lot earlier in all honesty. Linux can be used to develop iOS apps using open-source tools.
XCODE INSTALL UBUNTU FULL
Okay, After a full day of attempts, re-installing homebrew and all.
