I am questioning if having two totally different variations will trigger issues in Xcode?
Manually putting in Clang through direct obtain from LLVM web site will not trigger any issues with Xcode. Xcode GUI makes use of instruments from its personal bundled toolchain and never those uncovered through PATH
variable of shell’s surroundings.
Xcode’s personal bundled clang binary might be discovered on the following path:
/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
You possibly can very nicely obtain the specified model of clang
from LLVM web site, place it at desired location within the filesystem and modify the shell profile recordsdata or PATH
variable to check with the downloaded binary when working through command line interface.
Does it work that the most recent clang model is used on the command line and the Xcode bundled model is used inside the Xcode IDE?
Following the aforementioned strategy, the put in/newer model of clang is used on the command line interface, whereas Xcode GUI continues to make use of its personal bundled model.
The 2 variations of very-well clang can co-exist.
(P.S.: You possibly can very nicely set up and handle any variety of totally different variations of Clang in your pc so long as you handle through the PATH
variable to make use of absolute path for the related model of Clang binary.)