-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Describe the bug
I'm unable to build my application in Debug configuration on iOS.
The build fails during the linking phase with the following error:
Undefined symbols for architecture arm64:
"_kfun:androidx.compose.runtime#androidx_compose_runtime_ProvidedValue$stableprop_getter$artificial(){}kotlin.Int", referenced from:
_kfun:moe.tlaster.precompose#PreComposeApp(kotlin.Function2<androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){} in ComposeApp[2833](libmoe.tlaster:precompose-cache.a.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)This only happens in Debug builds, the Release configuration builds fine.
To Reproduce
Steps to reproduce the behavior:
- Clone the minimal reproducible example
- Try to run the iOS target in Debug mode
- See the linker error above
Expected behavior
The project should build and run successfully in both Debug and Release configurations on iOS.
Minimal reproducible example
I created a minimal reproducible example starting from the official Compose Multiplatform Wizard, without any additional changes except adding PreCompose (version 1.7.0-alpha03): https://github.com/JAWS-tm/PreCompose_UndefinedSymbols
Metadata
Metadata
Assignees
Labels
No labels