Command Line Tools for Xcode 12.4 → 12.5

John Neffenger john at status6.com
Wed Jun 16 16:27:42 UTC 2021


Just a heads-up about using the latest Xcode 12.5 ...

I use the Command Line Tools for Xcode 12.4 (at 431 MB) to build JavaFX 
on macOS as an alternative to the full Xcode package (at 11.86 GB). 
Thank you, Arunprasad Rajkumar! [1]

Then Apple Software Update installed the latest Command Line Tools for 
Xcode 12.5, and my builds of JavaFX with WebKit started failing. You can 
find out what version you're using with the command:

   $ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
   package-id: com.apple.pkg.CLTools_Executables
   version: 12.5.0.0.1.1617976050
   volume: /
   location: /
   install-time: 1623800794
   groups: com.apple.FindSystemFiles.pkg-group

You can download and revert to the 12.4 release below:

   More Downloads
   https://developer.apple.com/download/all/?q=12.4

Note that the OpenJFX project uses version 12.4 (build.properties):

   jfx.build.macosx.xcode.version=Xcode12.4+1.0

The errors using version 12.5 start with:

   .../modules/javafx.web/src/main/native/Source/ThirdParty/
     sqlite/./version:1:1: error: expected unqualified-id

   /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/
     usr/include/c++/v1/cstddef:49:9: error: no member named
     'ptrdiff_t' in the global namespace

and end with:

   PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
   Preprocessed source(s) and associated run script(s) are located at:
   clang: note: diagnostic msg: /var/folders/...
   clang: note: diagnostic msg: /var/folders/...
   clang: note: diagnostic msg: Crash backtrace is located in
   clang: note: diagnostic msg: /Users/john/Library/Logs/
          DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
   clang: note: diagnostic msg: (choose the .crash file that
          corresponds to your crash)
   clang: note: diagnostic msg:

John

[1]: https://github.com/openjdk/jfx/pull/13



More information about the openjfx-dev mailing list