I'm trying to add SwiftUI to my sample project but...
# multiplatform
f
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
“Only one Kotlin framework can be loaded currently”
a
k
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
Thanks @Artyom Degtyarev [JB]!
@kpgalligan building and running works perfectly! 🙂
The problem is only in preview mode 😞
k
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
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! 😄