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

fcosta

10/21/2019, 2:18 PM
I'm trying to add SwiftUI to my sample project but i can't use
Preview
. It crashes. Any way to workaround this? The log follows:
k

kpgalligan

10/21/2019, 2:21 PM
“Only one Kotlin framework can be loaded currently”
a

Artyom Degtyarev [JB]

10/21/2019, 2:21 PM
k

kpgalligan

10/21/2019, 2:22 PM
Ah, interesting. I wasn’t having issues but am also only using swift ui with a master build of KN
Also not using preview
f

fcosta

10/21/2019, 2:31 PM
Thanks @Artyom Degtyarev [JB]!
@kpgalligan building and running works perfectly! 🙂
The problem is only in preview mode 😞
k

kpgalligan

10/21/2019, 2:32 PM
Ah, interesting. I’ve been too scared to update the laptop OS
My layout is vertical stack of test buttons, so lack of preview not a huge issue
f

fcosta

10/21/2019, 2:38 PM
Indeed!
My sample is a chat application
My layout is a bit more complex
Well, I will keep running the app to see the changes
Thanks! 😄