Hello,
We are experiencing an Assertion failed error while building the Kotlin Multi-Platform project using XCode 15. However, the Xcode Error does not display the exact issue or line at which the issue occurs. So please help with this. Please check the error lines listed below:
Task ::linkPodDebugFrameworkIos FAILED
error: Compilation failed: Assertion failed
- Source files:
- Compiler version: 1.9.23
- Output kind: FRAMEWORK
error: java.lang.AssertionError: Assertion failed
at org.jetbrains.kotlin.backend.konan.llvm.CodeGenerator.typeInfoForAllocation(CodeGenerator.kt:53)
at org.jetbrains.kotlin.backend.konan.llvm.FunctionGenerationContext.allocInstance(CodeGenerator.kt:909)
at org.jetbrains.kotlin.backend.konan.llvm.IntrinsicGenerator.emitCreateUninitializedInstance(IntrinsicGenerator.kt:465)
Compilation failed: Assertion failed
java.lang.AssertionError: Assertion failed
Compilation finished with errors