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

Rafs

09/21/2023, 9:54 PM
I've only got this inside
main.ios.kt
where
App()
is a composes screen but it's throwing at exception at compile time.
Copy code
fun mainViewController(): UIViewController = ComposeUIViewController {
    App()
}
p

Pablichjenkov

09/21/2023, 10:01 PM
Can barely see the full stacktrace
Or error message
r

Rafs

09/21/2023, 10:04 PM
image.png
p

Pablichjenkov

09/21/2023, 10:44 PM
Humm, doesn't look familiar no. Try to bisect the section of code or configuration that causes it. Find a previous commit where it didn't happen and do a binary search of the commit that introduces the problem. Is all I could tell
o

Oleksandr Karpovich [JB]

09/22/2023, 7:51 AM
Is App an expect/actual? Do you have the Composable annotation on both expect and actual?
r

Rafs

09/22/2023, 7:58 AM
No, App is not an expect/actual, it's just a regular composable defined in
commonMain
I'm trying to bisect it to see which recent dependency is causing this issue
👍 2
p

Pablichjenkov

09/22/2023, 12:22 PM
If you recently updated to Xcode 15 I believe it is not supported yet.
r

Rafs

09/22/2023, 1:28 PM
That might explain it. I will try it on Xcode 14
🆒 1
Can't go back to xcode 14.
p

Pablichjenkov

09/22/2023, 11:21 PM
You might need to wait for a bit 😁
2 Views