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

SrSouza

11/30/2023, 1:37 AM
Hi folks, have being trying to compile Compose Multiplatform Core from source and the native source code have being failing to build the native target of compose runtime because of missing Coroutines and AtomicFu references. For Example:
Copy code
e: file:///.../compose-multiplatform-core/compose/runtime/runtime/src/nativeMain/kotlin/androidx/compose/runtime/ActualNative.native.kt:90:9 Unresolved reference: yield
Execution failed for task ':compose:runtime:runtime:compileKotlinUikitSimArm64'
The gradlew task I did run:
./gradlew :mpp:publishComposeJbToMavenLocal -Pcompose.platforms=all
a

Andrei Salavei

11/30/2023, 9:51 AM
Hi there! That's weird. From the error text it seems something wrong with your
kotlinx.coroutines
library. Did you try to clean caches/checkouts and restart gradle?
s

SrSouza

11/30/2023, 4:47 PM
I did run
./cleanTempFiles.sh
and also kill all gradle daemon, but the issue persist
4 Views