I just downloaded the Swift Open Source Xcode Toolchain as described here .
However, following the installation instructions, the second command no longer works, which says:
Run the package installer, which installs the Xcode toolkit /Library/Developer/Toolchains/.
The Xcode ( .xctoolchain) toolchain includes a copy of the compiler, lldb, and other related tools necessary to ensure a seamless development experience in a particular version of Swift.
When starting the package installer, the following error appears:
You cannot install the Swift Open Source Xcode Toolchain in this place. Installer Swift Open Source Xcode Toolchain does not allow which will be installed here.

Update:
Someone suggested earlier that the problem may be that I do not control El Capitan (this is true). I was not able to update my OS at the same time, can anyone else confirm with the same question that this could be the reason?
source
share