layout (using Compose Resources) and Compose enabled. It compiles fine for Android, but for iOS (
shared/src/ios/kotlin
) it complains
Unresolved reference: Composable
and
Mismatched Composable annotation between expect and actual declaration
when trying to compile, despite IntelliJ showing it as resolved. Compose is enabled on both the Android and iOS modules. Any ideas?
Ian Moore
05/23/2024, 6:18 PM
This might not be an Amper issue. I need to look into this warning:
Copy code
KLIB resolver: The same 'unique_name=runtime_commonMain' found in more than one library: /[REMOVED]/build/kotlinTransformedMetadataLibraries/commonMain/app.cash.sqldelight-runtime-2.0.2-commonMain-asQ-DQ.klib, /[REMOVED]/build/kotlinTransformedMetadataLibraries/commonMain/org.jetbrains.compose.runtime-runtime-1.6.10-rc01-commonMain-CVJWAg.klib
a
Alexander Tsarev
05/31/2024, 12:27 PM
Hi! It indeed seems like a kotlin compilation issue
a
amakeev
05/31/2024, 4:10 PM
Ian, it would be really helpful, if you could create a sample project that reproduce this issue and file a bug report