Undefined symbol while linking project on iOS (_OBJCCLASS$_UITextLoupeSession).
Affected platforms
iOS
Versions
Libraries:
Compose Multiplatform version: 1.6.10-rc03
Kotlin version: 2.0.0-RC3
OS version(s) (required for Desktop and iOS issues): MacOS 12.7.4, iOS 16.2
OS architecture (x86 or arm64): x86
Device (model or simulator for iOS issues): iPhone 14 Simulator
Full output
> Task :bundles:cariad:compileKotlinIosX64
> Task :bundles:cariad:linkPodDebugFrameworkIosX64
warning: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: CariadMaps. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
Please try to disable compiler caches and rerun the build. To disable compiler caches, add the following line to the gradle.properties file in the project's root directory:
kotlin.native.cacheKind.iosX64=none
Also, consider filing an issue with full Gradle log here: https://kotl.in/issue
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
ld: warning: Could not find or use auto-linked framework 'Symbols'
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_UITextLoupeSession", referenced from:
objc-class-ref in liborg.jetbrains.compose.ui:ui-uikit-cache.a(CMPTextLoupeSession.o)
ld: symbol(s) not found for architecture x86_64
> Task :bundles:cariad:linkPodDebugFrameworkIosX64 FAILED
> Task :bundles:cariad:skieUploadAnalyticsPodDebugFrameworkIosX64
error: Compilation finished with errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bundles:cariad:linkPodDebugFrameworkIosX64'.
> Compilation finished with errors
Describe the bug
Undefined symbol while linking project on iOS (_OBJCCLASS$_UITextLoupeSession).
Affected platforms
Versions
Full output