```error: java.lang.AssertionError: Assertion fail...
# compose-ios
e
Copy code
error: java.lang.AssertionError: Assertion failed
	at org.jetbrains.kotlin.backend.konan.llvm.CodeGenerator.typeInfoForAllocation(CodeGenerator.kt:55)
java.lang.AssertionError: Assertion failed	at org.jetbrains.kotlin.backend.konan.llvm.FunctionGenerationContext.allocInstance(CodeGenerator.kt:889)
just wanted to leave this here. i was getting this error but i fixed it by removing a private object superclassing NSObject() i had in iosMain. the iOS linking step didn't like that. rest of the error message is in thread
Untitled
i originally thought it was this
Copy code
warning: Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag.
error: Compilation failed: Assertion failed
Compilation failed: Assertion failed * Source files: 
Cannot infer a bundle ID from packages of source files and exported dependencies, use the bundle name instead: ComposeApp. Please specify the bundle ID explicitly using the -Xbinary=bundleId=<id> compiler flag. * Compiler version: 2.1.0
 * Output kind: FRAMEWORK
but it turns out that was there all along