How do I change what xcode brew uses?

(Smooklu) #1

So I don’t have sudo access and had to ask Tech Support to download Xcode and install it but it didn’t install to the Applications folder and Homebrew keeps using the outdated Xcode in the Applications folder. How do I change what Xcode Homebrew uses?

(Mike McQuaid) #2

This is not configurable, sorry.

(Smooklu) #3

Ah ok would xcode-select --switch (xcode directory) work?

(Mike McQuaid) #4

That may work but you will need sudo access, no?