Forum > macOS / Mac OS X

Downward compatibility of applications built with Big Sur

(1/1)

stem:
Hi,

I'm thinking about buying the Mac mini 2020 M1 with macOS Big Sur.

Am I right that my application (built with Lazarus) will only work with M1
processors?

How can I ensure that my application will also run on older systems
(Intel CPU, macOS Mojave/Catalina)? Cross-compile for Intel chips?

Thank you.


stem

Igor Kokarev:
Hi,

I also have Mac Mini on M1 chip and use it compile our app.

I compile 2 versions for my app - for Intel and M1, and then I use lipo command to create Universal Binary.

FPC and Lazarus allows you compile for x86_64 and aarch64. See target in Project Options for your app. Or use a command line - lazbuild

I tested my app - works even with High Sierra. And I think with older MacOSX versions.

In .plist file in APP bundle I added the following code:

<key>LSMinimumSystemVersion</key>
<string>10.10.0</string>

It limits compatibility with macOS 10.10 (because I cannot test with very old versions).

Navigation

[0] Message Index

Go to full version