https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
m

Matti MK

04/25/2022, 7:47 PM
I started a KMM project in fall and now it would be time for another one. In my previous project I did not use the new MM, nor have to worry about M1 issues. However, going into the new project I would like to support M1 and perhaps also use the new MM. With those constraints in mind, are there currently any known pitfalls when it comes to M1 and KMM?
m

Marc Reichelt

04/25/2022, 8:51 PM
By ‘support M1’, do you mean writing apps natively running on an M1 Mac - or do you mean compiling a KMM project on an M1? If it’s the latter - we’re having no issues running our KMM iOS builds on an M1 so far.
m

Matti MK

04/26/2022, 12:46 AM
Ah yes, compiling a multiplatform project with M1 is what I mean, targets being iOS and Android
I seem to remember seeing M1 mentioned here in the channel, so I was wondering if there’s any known pitfalls that could be avoided
g

Grégory Lureau

04/26/2022, 5:50 AM
I need a trick to force the nodejs version when targeting Js (not sure if still required tho) but nothing special for Android/iOS iirc.
r

Rick Clephas

04/26/2022, 6:25 AM
m

Marc Reichelt

04/26/2022, 6:27 AM
Ok, yeah - no known pitfalls with M1 on our side :)