Setting Up FireMonkey Cross-Platform Builds: The Mac Build Server Reality
FireMonkey lets you target iOS from Windows, but you still need a Mac running PAServer for code signing and linking. Here's the practical setup, the latency trade-offs, and a checklist to validate before committing.
21 Apr 2026, 19:37 UTC

The Problem: You Can't Ship iOS from Windows Alone
FireMonkey promises a single Delphi or C++Builder codebase for Windows, macOS, iOS, and Android. The IDE shows all four targets in the Project Manager, and the component palette looks identical across platforms. But the first time you right-click an iOS target and hit Build, the output window stops you cold: PAServer connection required. There is no iOS compiler on Windows. You need a Mac on the network running Xcode and RAD Studio's Platform Assistant (PAServer).
This isn't a configuration oversight—it's an Apple requirement. Code signing, provisioning profiles, and the final .ipa packaging only run on macOS. FireMonkey handles the cross-platform UI rendering and shared logic, but the last mile for Apple targets lives on a Mac.
What the Build Server Actually Does
PAServer (Platform Assistant Server) is a lightweight daemon that receives compiled object files from your Windows IDE, links them against the macOS/iOS SDKs, codesigns the bundle, and returns the signed artifact. It also runs the remote debugger so you can step through iOS code from the Windows IDE.
You install it from the RAD Studio installer ISO (look for PAServer--macosx.dmg) or download it from the Embarcadero GetIt portal. The Mac must run a macOS version supported by your RAD Studio release and have the matching Xcode command-line tools installed.
Worked Example: Connecting IDE to PAServer
- On the Mac: Mount the DMG, run the installer, then launch
PAServerfrom Applications. It opens a terminal window showing the listening port (default 64211) and a generated password. - On Windows IDE: Open
Tools > Options > Connection Profile Manager. ClickAdd, name it (e.g., "MacBookPro-M1"), enter the Mac's IP or hostname, the port, and the password from step 1. ClickTest Connection—you should see "Connected" and the detected SDK versions. - In your FireMonkey project: Select the iOS Device 64-bit target in Project Manager. Right-click >
Assign Connection Profileand choose the profile you just created. - Build: Press
Ctrl+Shift+B. The IDE compiles Delphi/C++ to object files, ships them over SSH to the Mac, PAServer invokesldandcodesign, and the signed.appbundle appears in your project'siOSDevice64\Debugfolder on Windows.
Verification: Open the Deployment Manager (Project > Deployment) for the iOS target. You should see Info.plist, entitlements, and provisioning profile entries marked for remote deployment. If the list is empty, the connection profile isn't assigned correctly.
Trade-Off: Network Latency and Debug Friction
The round-trip for every build adds 5–30 seconds depending on network speed and project size. Debugging works, but watchpoints and data breakpoints are unreliable over the remote protocol. Conditional breakpoints with complex expressions often evaluate on the Windows side and fail to sync. For heavy UI iteration, many teams keep a Mac mini on the same switch and use a wired connection; Wi-Fi adds enough jitter to make the edit-build-debug loop frustrating.
Android builds, by contrast, run entirely on Windows using the bundled SDK/NDK. No second machine required. If your product targets Android and Windows primarily, the Mac server is an optional cost. If iOS is a must, budget for the hardware and the ongoing Xcode version chase—Apple drops SDK support fast, and RAD Studio's PAServer compatibility lags by one or two Xcode releases.
Actionable Checklist Before You Commit
- Confirm your RAD Studio version's Supported Platforms page lists the macOS/Xcode versions you can run.
- Provision a Mac (Intel or Apple Silicon) that can run that macOS version. Apple Silicon Macs run PAServer under Rosetta 2; native ARM PAServer arrived in RAD Studio 11.3.
- Install Xcode command-line tools:
xcode-select --installon the Mac, then accept the license withsudo xcodebuild -license accept. - Run a blank Multi-Device Application project through the full Windows → Mac → iOS Simulator cycle before adding your real code. This validates certificates, provisioning profiles, and PAServer firewall rules.
- Document the PAServer password and port in your team's runbook. The password regenerates on each PAServer restart unless you set a fixed one via
paserver --password=yourfixedsecret.
FireMonkey delivers on the single-codebase promise, but the Apple target tax is real: a Mac, a network, and a version-tuned toolchain. Factor that into your platform decision matrix before the first sprint.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.