Meet
11/11/2025, 5:49 AM./gradlew packageDistributionForCurrentOS
it successfully generates a .deb package for amd64 under
/artifacts/build-mac/binaries/main/deb/dev-analyser_1.0.0-1_amd64.deb.
But now I also want to create a build for Intel/ARM64 Mac — for example, an .arm64.dmg package.
Is it possible to generate an ARM64 .dmg file using Compose Multiplatform?
Or is it only possible to build for the architecture of the current machine?
Or any other way using ci/cd?Michael Paus
11/11/2025, 6:57 AMMeet
11/11/2025, 6:58 AMMeet
11/11/2025, 7:01 AMMichael Paus
11/11/2025, 7:05 AM./gradlew packageDistributionForCurrentOS
should just build a DMG package for ARM if you are running on MacOS on your M4.Meet
11/11/2025, 7:06 AMMichael Paus
11/11/2025, 7:08 AM(export JAVA_HOME=/Users/mpaus/Downloads/jdk-17.0.9+9/Contents/Home; ./gradlew clean desktopApp:packageReleaseDmg)
You also have to have Rosetta 2 installed because that is used under the hood then. The path above must point to the Intel JDK.Meet
11/11/2025, 7:09 AMMichael Paus
11/11/2025, 7:10 AMMeet
11/11/2025, 7:10 AMMeet
11/11/2025, 7:11 AMMeet
11/11/2025, 7:11 AMMeet
11/11/2025, 7:12 AMMichael Paus
11/11/2025, 7:15 AMMeet
11/11/2025, 7:17 AMMichael Paus
11/11/2025, 7:19 AMMeet
11/11/2025, 7:20 AMMeet
11/11/2025, 8:59 AMMichael Paus
11/11/2025, 4:18 PMMeet
11/11/2025, 4:20 PMMeet
11/11/2025, 4:21 PMMichael Paus
11/11/2025, 4:27 PMpackageReleaseDistributionForCurrentOS. So what do you think 🧐😇?Meet
11/11/2025, 4:28 PM