To override the default Xcode Active Developer Directory, simply set the environment variable "DEVELOPER_DIR" in the Terminal app to the desirable Xcode version. However, Managed server users may not change the default Xcode active developer directory (we use Xcode version 13.4.1 as an example here) using the " sudo xcode-select -switch /Applications/Xcode 13.4.1.app" command due to lack of administrator access. You may wish to override the default Xcode Active Developer Directory so build tools can target a legacy version or non-default version of Xcode.
0 Comments
Leave a Reply. |