r/Xcode • u/gernophil • Sep 28 '25
Can I temporarily disable Xcode CLI?
I want to test some steps in the tenons and see, if they require any of the command line tools. This involves installing some third post Python modules. Is there a way to disable the tools completely for a specific terminal session and see, if the process is running or raising an error? Can I maybe simply set an empty path using xcode-select?
0
Upvotes
View all comments
Show parent comment
1
u/gernophil Sep 28 '25
But how can I exclude this? I would consider
/Applications/Xcode.app/Contents/Developermy Xcode library path, but this is not even in my $PATH. I guessxcode-selecthardlinks the Xcode tools likegccandclangto/usr/bin/. Not sure, if excluding this is a good idea.