In Xcode, I can easily override which clang path to use with CC=...
in a .xcconfig file. However, this setting doesn't seem to apply to SourceKit. Any ideas how to use a custom clang path for SourceKit?
Asked
Active
Viewed 76 times
1

meisel
- 2,151
- 2
- 21
- 38
-
One workaround, it seems, is to replace `clang` in the toolchain with a shim at that path. Hacky but seems to work. – meisel Oct 15 '20 at 13:46
-
Maybe try [other options](https://stackoverflow.com/a/43355809/8740349) – Top-Master Jun 18 '21 at 20:21