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

Rak

06/18/2021, 10:23 AM
Anyone else seeing the need to compile and deploy twice before the iOS project picks up changes in shared?
b

bsimmons

06/18/2021, 12:01 PM
Nope, I only ever need one build.
r

Rak

06/18/2021, 12:22 PM
What version of android studio are you using?
b

bsimmons

06/18/2021, 1:00 PM
4.1.2
r

Rak

06/18/2021, 2:57 PM
Android Studio Arctic Fox | 2020.3.1 Beta 4 Build #AI-203.7717.56.2031.7435690, built on June 7, 2021 Runtime version: 11.0.10+0-b96-7281165 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.1 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 12 Registry: external.system.auto.import.disabled=true Non-Bundled Plugins: com.jetbrains.kmm, com.squareup.sqldelight
I was under the impression I needed to be running the very latest to get the latest updates.
b

bsimmons

06/18/2021, 3:00 PM
Depends on what features you want to use.
r

Rak

06/18/2021, 5:21 PM
KMM?
b

bsimmons

06/18/2021, 5:28 PM
How are you deploying to iOS?
r

Rak

06/18/2021, 5:35 PM
If you mean during dev, then i use Android Studio, it starts the emulator
I just have to do it twice - compile (the hammer), deploy (wait for it to appear in the simulator), compile, deploy
b

bsimmons

06/18/2021, 5:40 PM
Are you not using XCode?
r

Rak

06/19/2021, 1:38 AM
I have it but trying not to run 2 ides. Besides, it doesn't see changes either.
10 Views