https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
r

Raphael TEYSSANDIER

10/09/2023, 5:14 PM
It is possible to create a
pkg
for intel mac, on a m1 mac ?
a

Alexander Maryanovsky

10/09/2023, 5:48 PM
Only with virtualization
Not sure that even exists, though. Not a very common use-case probably.
r

Raphael TEYSSANDIER

10/09/2023, 6:05 PM
Because I want to publish an app on AppStore, but it tells me that I need to support Intel Mac. Since we can’t make an universal binary. I’m kind of stuck
a

Alexander Maryanovsky

10/09/2023, 6:06 PM
Yeah, it’s a problem.
Unfortunately it’s a limitation of jpackage that we can’t really much about.
r

Raphael TEYSSANDIER

10/09/2023, 6:08 PM
So, only way right now it’s to have a intel mac to make binaries ?
a

Alexander Maryanovsky

10/09/2023, 6:09 PM
Yes
r

Raphael TEYSSANDIER

10/09/2023, 6:10 PM
Ok, thank’s for answering
m

Michael Paus

10/09/2023, 6:26 PM
We had this question (vor DMG instead of PKGs) just a few days ago and it was concluded that it should be possible to make an Intel build on ARM hardware by just utilizing Rosetta 2. See: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1696348252391969
r

Raphael TEYSSANDIER

10/09/2023, 6:51 PM
Thank’s, gonna try
Do I need to make a packageReleaseDmg or can I just use packageDmg ?
We can release an
dmg
on test flight?
m

Michael Paus

10/09/2023, 9:20 PM
I don’t know the App Store rules, but with the above concept it should also be possible to build PKGs and it would be interesting to know whether you could confirm that. I can’t because I don’t own an ARM mac yet.
r

Raphael TEYSSANDIER

10/10/2023, 6:43 AM
I did release a pkg with success. But now I stuck with
CODESIGNING 1 Taskgated Invalid Signature
s

Stefan Oltmann

10/10/2023, 9:23 AM
Yes. The current GitHub runners are primarily Intel-based, which is not an issue for me at the moment because Intel architecture is universally compatible. However, considering that I work on an M1-based system, I anticipate potential challenges in the future if GitHub shifts away from Intel architecture.
2 Views