GeezerVison is showing github.com — macOS support: build and test Bold on macOS · Issue #127 · bero/BoldForDelphi
macOS support: build and test Bold on macOS #127DescriptionSplit out of #117 (its Phase 2, steps 11 and 12). #117 keeps FireMonkey on Windows, Linux and Lazarus/Free Pascal; this issue tracks macOS.
The starting point: the runtime no longer needs VCL or the Windows API (#117 steps 1 to 6). It builds and passes the test suite on Linux64 with Delphi and on Linux and Windows with Free Pascal, and the Invoicing example has an FMX client (examples/Compound/Invoicing/FMX) and an LCL client.
What is known
- Delphi 13 builds for macOS (
OSX64, OSXARM64) through PAServer on a Mac that runs macOS 14 or later with a matching Xcode. No such Mac is available to the project at the moment, and the Windows build machine has no macOS compiler installed (dccosx64, dccosxarm64), so not even a compile check has been done.
- Free Pascal and Lazarus build on the Mac itself. GitHub Actions has macOS runners, free for public repositories, so the Free Pascal suite can run on macOS in CI next to the Linux and Windows jobs without a Mac at hand.
- Investigate multiplatform support: FireMonkey targets and Lazarus/Free Pascal #117 step 8 offers the non-visual components on the palette for Win32, Win64 and Linux64. macOS (
pidOSX64, pidOSXArm64) is left out until a macOS compiler has built those units.
A rented Mac
A Mac can be rented by the hour; NoMac is one service (seen November 2026): Apple silicon (M5 Pro, M6) with Xcode 27 preinstalled, reached by SSH and through the desktop in a browser, $0.90 an hour billed by the minute from $10 of prepaid credit. Each Mac is wiped when it stops, except a 20 GB drive (~/drive) that carries over to the next one.
Delphi needs Xcode on a Mac once, to import the macOS SDK through PAServer; after that it compiles and links for macOS on Windows. Running the tests or the FMX clients on macOS needs a Mac again for each run.
Before renting:
- The macOS platform in Delphi: the Windows build machine has Delphi's macOS libraries (
lib\osx64, lib\osxarm64) but not the compilers (dccosx64, dccosxarm64) or the PAServer installer for the Mac; Tools > Manage Platforms > macOS adds them.
- Versions: RAD Studio 13 Florence lists macOS 26, 15 and 14 as targets (Supported Target Platforms), and its patches work with Xcode 26.x; even Xcode 26.4 had a build problem with an FMX ARM app (RSS-5190, fixed in the 13.1 May patch; the build machine has 13.2, version 37.0.60952.8797, which is later). No notes were found on whether 13.2 supports newer macOS or Xcode versions. Xcode 27 is newer than Delphi documents, so the first minutes of a session check
sw_vers and xcodebuild -version and whether the SDK import works. An older Xcode would need an Apple ID and more room than the 20 GB drive. Current versions: Platform Status.
- Connection: PAServer listens on a port, and the service promises SSH only, which is enough: an SSH tunnel from a machine the Delphi IDE reaches to PAServer on the Mac, and a PAServer connection profile to that machine.
What one session of about an hour would cover: install PAServer on the Mac (its installer kept on ~/drive), import the SDK, run the Delphi console test suite for macOS ARM (step 2), and start the FMX clients in the browser desktop (step 4). After the import, step 3 can be compile-checked on Windows without a Mac. Step 1 needs none of this.
Plan
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|