https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
k

Khanzada Kashif

03/01/2024, 8:56 PM
Has anyone faced this error before? I made this project through KMP wizard and upon running the ios app it gives me this.
m

Marcos Paulo Farias

03/01/2024, 8:59 PM
did you setup your target device in xcode?
k

Khanzada Kashif

03/01/2024, 9:12 PM
Yes I have.
p

Pablichjenkov

03/01/2024, 9:27 PM
Is
kdoctor
ok in your environment?
k

Khanzada Kashif

03/01/2024, 9:37 PM
Yep...
p

Pablichjenkov

03/01/2024, 9:50 PM
Ok, did you get to see a .framework folder in the build directory?
k

Khanzada Kashif

03/01/2024, 9:55 PM
I can see xcode-framework but not the .framwork
p

Pablichjenkov

03/01/2024, 10:08 PM
Humm, you might need to run the gradle task to assemble the.framework manually
Or sometimes just play with the IDE, restart it, clean cache things like that. Are you running from AS or Xcode?
k

Khanzada Kashif

03/01/2024, 10:14 PM
I've tried on both, and have almost done every shenanigan that AS needs to make things work.
😁 1
p

Pablichjenkov

03/01/2024, 10:25 PM
Humm ran out of ideas 😞. Wait maybe someone from JB jumps in
k

Khanzada Kashif

03/01/2024, 10:27 PM
I have made a progress to change the error, now I'm getting this one,
Copy code
error: Could not find "co.touchlab:stately-common" in [/Users/mac/Downloads/ExpressCabs, /Users/mac/.konan/klib, /Users/mac/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.22/klib/common, /Users/mac/.konan/kotlin-native-prebuilt-macos-x86_64-1.9.22/klib/platform/ios_simulator_arm64]
error: Compilation finished with errors
Any ideas about this one?
8 Views