mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 08:47:33 +00:00
The :commons:linkDebugTestIosSimulatorArm64 CI step fails under Xcode 16.4 with 'Undefined symbols: _OBJC_CLASS_$_UIViewLayoutRegion'. The symbol is referenced by the prebuilt Kotlin/Native cache of Compose Multiplatform's org.jetbrains.compose.ui:ui-uikit (CMPLayoutRegion), which was built against a newer simulator SDK (18.5) than the test binary is linked for (14.0). Disable the native compiler cache for the iOS test binaries so ui-uikit recompiles against the active SDK, where UIViewLayoutRegion resolves. The DisableCacheInKotlinVersion guard re-surfaces the workaround once we move past Kotlin 2.3.21 so it can be removed when the cache is fixed upstream.