HomeAppleterminal - Putting in clang from LLVM web site alongside clang from...

terminal – Putting in clang from LLVM web site alongside clang from Xcode command line instruments


I am questioning if having two completely different variations will trigger issues in Xcode?

Manually putting in Clang by way of direct obtain from LLVM web site will not trigger any issues with Xcode. Xcode GUI makes use of its personal bundled toolchain instruments and never uncovered by way of PATH variable of shell’s setting.

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’ll be able to very properly obtain the specified model of clang from LLVM web site, place it at desired location within the filesystem and modify the shell profile information or PATH variable to seek advice from the downloaded binary.

Does it work that the most recent clang model is used on the command line and the Xcode bundled model is used throughout the Xcode IDE?

Following the aforementioned strategy, the put in/newer model of clang is used on the command line, whereas Xcode continues to make use of the bundled model.

The 2 variations of clang can co-exist.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments