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

ursus

06/03/2021, 3:14 AM
Is there some limitation if I were to buy apple M1 mac? (to build ios targets etc)
c

Charles Prado

06/03/2021, 4:49 PM
I’m using one and I don’t have so many problems.
The Android behavior is not fully prepared to the m1 chips yet, now you can create simulators directly on the Android studio, but the experience is not the same as if you were using a x86 chip.
That being said, you can do basicaly everything using a m1 right now. I already worked in 2 kmm projects using mine m1 and that went so good so far
u

ursus

06/03/2021, 5:08 PM
so what's the issue, performance of the emulator?
c

Charles Prado

06/03/2021, 5:11 PM
I’m currently using this emulator: https://github.com/google/android-emulator-m1-preview I’m not able to use google services on it for example. Like I said, you can now create an arm emulator directly in Android studio. I did that, but it didn’t worked for me, the app is never launched, I didn’t took the time to check what’s the problem yet (probably I need to update something)
h

hfhbd

06/03/2021, 8:47 PM
Hm... My M1 MacBook is working fine, regarding Android apps (with PlayServices and without) in the arm64 simulator as well as iOS apps on the device using a common Kotlin sourceSet. One big exception: I can't run the local iOS simulator with a kotlin library. All you need is the M1 AS version and, for iOS development, an Intel x64 JDK.
3 Views