/Applications/Xcode.app/Contents/Developer/usr/bin/make 'FPC=/usr/local/share/fpcsrc/fpc-3.3.1/compiler/ppcrossa64' 'OPT= ' CYCLELEVEL=3 rtl/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /usr/local/share/fpcsrc/fpc-3.3.1/rtl 'OPT= ' all/Applications/Xcode.app/Contents/Developer/usr/bin/make -C darwin all/usr/local/share/fpcsrc/fpc-3.3.1/compiler/ppcrossa64 -Ur -dFPC_USE_LIBC -Paarch64 -Ur -Xs -O2 -n -Fi../inc -Fi../aarch64 -Fi../unix -Fi../bsd -Fi../bsd/aarch64 -Fi../darwin/aarch64 -FE. -FU/usr/local/share/fpcsrc/fpc-3.3.1/rtl/units/aarch64-darwin -daarch64 -dRELEASE -Us -Sg ../bsd/system.ppclang: error: invalid Darwin version number: macosx11.0.0clang: error: invalid version number in '--target=arm64-apple-macosx11.0.0'system.pp(398) Error: Error while assembling exitcode 1system.pp(398) Fatal: There were 2 errors compiling module, stoppingFatal: Compilation abortedmake[5]: *** [system.ppu] Error 1make[4]: *** [darwin_all] Error 2make[3]: *** [rtl) Error 2make[2]: *** [cycle] Error 2make[1]: *** [compiler_cycle] Error 2make: *** [build-stamp.aarch64-darwin] Error 2
Xcode 12.2 requires a Mac with Apple silicon running macOS Big Sur 11 or later, or an Intel-based Mac running macOS Catalina 10.15.4 or later.
I have macOS 11.0 installed on an external SSD and by pointing FPC to its Xcode folders with the -XR/-FD parameters, I can indeed successfully cross-compile to Darwin/AArch64 from 10.14.