Hey, is it possible to create an Intel/x64 MacOS app on M1/ARM machines? There's a proposal to upgrade all our CI machines to M1/ARM. However, I'd need to support x86 for a while, which is why I'm asking.
✅ 1
Franklin
03/22/2023, 10:48 AM
Hmmm actually, so seems like I can
1. Downloaded a x64 JDK and set it as
JAVA_HOME
2. Changed dependency from
compose.desktop.currentOs
to
compose.desktop.macos_x64
And that seems to generate an Intel app. Just tried on my old laptop and seems to work.
I guess this question is just here for posterity now.
m
mikehearn
03/22/2023, 11:12 AM
Yep, it's easy. And for instance Conveyor can create a bundle for whatever OS you pick from the command line:
conveyor -Kapp.machines=mac.amd64 make notarized-mac-zip
for example will give you a notarized x64 build on any OS that you run it on. change