Re: Command Line Tools for Xcode 12.4 → 12.5
John Neffenger
john at status6.com
Wed Jun 16 17:21:46 UTC 2021
On 6/16/21 9:56 AM, Philip Race wrote:
> 1) Don't let macOS upgrade my xcode tools automatically
Lesson learned! But then there's that annoying red badge on your System
Preferences forever. :-)
Actually, it was worse, and went more like this (just in case any else
gets led off-course by the error message below):
1. Naively download the latest CLTools 12.5.
2. See the following error message and think I need the full Xcode:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active
developer directory '/Library/Developer/CommandLineTools'
is a command line tools instance
That is a red herring. It's just the build testing whether the full
Xcode is installed by running the command 'xcodebuild -version
-showsdks'. When that command fails, the build runs 'xcrun
--show-sdk-path' and continues without problems.
3. Download and install the full Xcode 12.5, and it still fails!
4. Finally look up what the GitHub Actions are using (12.4).
5. Download and install CLTools 12.4 -- works!
6. Uninstall the 11-GB constantly-updating Xcode app.
John
More information about the openjfx-dev
mailing list