Join Slack
Powered by
Hello all. I happen to be migrating my Jetpack Com...
# multiplatform
n
Ngenge Senior
08/04/2021, 2:19 AM
Hello all. I happen to be migrating my Jetpack Compose code to Kotlin Multiplatform since I want to reuse part of the common code in SwiftUI. I have followed all the necessary instructions given at the following URL,
https://kotlinlang.org/docs/mobile/integrate-in-existing-app.html#use-the-shared-module-from-swift
after creating a shared module and created a fresh Xcode project in the same directory as the android app and shared module but when I build the XCode project, it keeps failing. The log is found here,
https://gist.github.com/ngengesenior/bbdf12ee129bb12427cf25bc6b78ce3b
. I really need some help as it is my first time creating a kmm project
Ngenge Senior
08/04/2021, 2:21 AM
To add a little more, the screenshot below shows the final logs
t
Tijl
08/04/2021, 6:32 AM
this task is for Kotlin 1.5.20 and higher, since you were using jetpack compose I assume at best you were at 1.5.10
n
Ngenge Senior
08/04/2021, 9:19 AM
Oh I see
t
Tijl
08/04/2021, 1:25 PM
if you switch to jet*brains* compose I think you can use 1.5.20 , however compose 1.0.1 will support 1.5.21 so you could also wait a bit
Open in Slack
Previous
Next