# macOS improvements: work flawlessly on Apple Silicon (Aarch64), bundled with FPC, signed and notarized; Cocoa mouse positioning; fixes to OnDropFiles; universal binary support

**URL:** https://forum.castle-engine.io/t/macos-improvements-work-flawlessly-on-apple-silicon-aarch64-bundled-with-fpc-signed-and-notarized-cocoa-mouse-positioning-fixes-to-ondropfiles-universal-binary-support/2095
**Category:** News
**Created:** [February 2, 2026, 5:16am UTC](https://forum.castle-engine.io/t/macos-improvements-work-flawlessly-on-apple-silicon-aarch64-bundled-with-fpc-signed-and-notarized-cocoa-mouse-positioning-fixes-to-ondropfiles-universal-binary-support/2095 "2026-02-02T05:16:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [February 2, 2026, 5:16am UTC](https://forum.castle-engine.io/t/macos-improvements-work-flawlessly-on-apple-silicon-aarch64-bundled-with-fpc-signed-and-notarized-cocoa-mouse-positioning-fixes-to-ondropfiles-universal-binary-support/2095/1 "2026-02-02T05:16:07Z")

</div>

| [![Castle Game Engine on macOS/Silicon (Aarch64)](https://forum.castle-engine.io/uploads/default/original/2X/9/90b5206530be54b5e96f4a88aa2f2b1de598ff8c.png)](https://castle-engine.io/wp/wp-content/uploads/2026/02/editor_macos_silicon_1.png "Castle Game Engine on macOS/Silicon (Aarch64)") |
| [![Castle Game Engine on macOS/Silicon (Aarch64)](https://forum.castle-engine.io/uploads/default/original/2X/b/bda78496be86989c2422c73b2e69cead4d2cd1ac.png)](https://castle-engine.io/wp/wp-content/uploads/2026/02/editor_macos_silicon_2.png "Castle Game Engine on macOS/Silicon (Aarch64)") |
| [![Castle Game Engine on macOS/Silicon (Aarch64)](https://forum.castle-engine.io/uploads/default/original/2X/c/cec425ff729a2572746f329ae907019b4e20486a.png)](https://castle-engine.io/wp/wp-content/uploads/2026/02/editor_macos_silicon_3.png "Castle Game Engine on macOS/Silicon (Aarch64)") |

We are proud to announce numerous improvements to how our engine works on [macOS](https://castle-engine.io/macos):

1. As hinted in [previous news](https://castle-engine.io/wp/2026/01/18/engine-downloads-with-bundled-fpc-for-all-platforms-castle-build-ci-to-easily-use-ci-with-our-engine-woodpecker-codeberg-ci-examples-and-impressions/), our macOS builds are now provided with _“bundled FPC”_ which means that building your games works out-of-the-box with our engine.

2. [Castle Game Engine downloads](https://castle-engine.io/download) now feature a native _macOS/Silicon (Aarch64)_ build. With everything working natively on Apple Silicon, including our engine, tools, and bundled FPC.

3. Our [castle-build-ci](https://github.com/castle-engine/castle-build-ci/) scripts allow to build _macOS/Aarch64_ applications as easily as for any other platform.

4. Our macOS applications are properly signed and notarized now.

5. We have extended our [macOS installation instructions](https://castle-engine.io/macos) to show how to use `xattr -cr` to remove the quarantine bit from our applications. This makes it possible to run our editor and tools properly.

6. This news post is also a good opportunity to announce our ability to create macOS _“universal binaries”_, which are application binaries that support both Intel and Silicon architecture in one exe. This has been implemented by _Jan Adamec_ quite some time ago — thank you! To build or run a universal binary:

7. We have _macOS/Silicon_ remote machine for testing, thanks to [MacStadium](https://macstadium.com/) and their [open source program](https://macstadium.com/company/opensource).

8. Fixed: Linking on _macOS/Aarch64_ works now: Replaced `LSOpenCFURLRef` with `NSWorkspace.openURL` usage. Our [commit](https://github.com/castle-engine/castle-engine/commit/01b36f474d80ece8ea7db7251258643876ad1a10) follows [similar change in LCL](https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/26890), see [LCL commit](https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/bde2979aa0fa407e116925dbbadfa53536ab4613).

9. Fixed: We no longer instruct Lazarus to use _Dwarf 3_ debug format at compilation, as it [crashes macOS building (on both x86\_64 and Aarch64)](https://github.com/castle-engine/castle-engine/commit/c352bb763379aafcbff284aadc9d6bb5b2f45eac).

10. Fixed: _“Warnings”_ list display of multi-line warnings. We must make them 1-line for `LCLCocoa`.

11. Fixed: `OnDropFiles` on macOS when you invoke an application with a file given as command-line argument. macOS sends then “drop files” message, and it’s quite early in the initialization code — was causing crashes before, now it’s handled properly.

12. Fixed: Setting mouse position in Cocoa backend, e.g. using `Window.MousePosition := ...`.

13. Our [build tool](https://castle-engine.io/build_tool) command `castle-engine output ...` was enhanced with some options to ease CI scripts making. This was useful for the signing and notarization scripts. New possibilities are:

14. Fixed: Display of menu item shortcuts in Cocoa that are function keys, page up/down etc. is now correct. We also react to them correctly — previous code was sometimes running the menu `OnClick` event twice by accident.

That’s it, for now! As mentioned above, we have more plans. Putting entire engine in a bundle, to avoid the need for any `xattr ...` trickery, is the logical next priority on macOS for us.

If you like what we do, please consider [supporting us on Patreon](https://www.patreon.com/c/castleengine). This supports our work, and also allows us to “pay the bills”, like _Apple Membership_ that allows to codesign and notarize our macOS releases.

---

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [February 2, 2026, 5:32am UTC](https://forum.castle-engine.io/t/macos-improvements-work-flawlessly-on-apple-silicon-aarch64-bundled-with-fpc-signed-and-notarized-cocoa-mouse-positioning-fixes-to-ondropfiles-universal-binary-support/2095/2 "2026-02-02T05:32:14Z")

</div>


