Hi, Did any of you seen this weird error with cint...
# kotlin-native
s
Hi, Did any of you seen this weird error with cinterop & native Apple framework ->
Type mismatch: inferred type is suntrix.kmp.firebase.FIRApp but objcnames.classes.FIRApp was expected
? The generated Kotlin “header” looks weird (see
installationsWithApp()
)
Copy code
public open expect class FIRInstallationsMeta : platform.darwin.NSObjectMeta {
    protected constructor() { /* compiled code */ }

    @kotlin.commonizer.ObjCCallable @kotlin.Deprecated public open external expect fun alloc(): suntrix.kmp.firebase.installations.FIRInstallations? { /* compiled code */ }

    @kotlin.commonizer.ObjCCallable @kotlin.Deprecated public open external expect fun allocWithZone(zone: kotlinx.cinterop.CPointer<cnames.structs._NSZone>?): suntrix.kmp.firebase.installations.FIRInstallations? { /* compiled code */ }

    @kotlin.commonizer.ObjCCallable public open external expect fun installations(): suntrix.kmp.firebase.installations.FIRInstallations { /* compiled code */ }

    @kotlin.commonizer.ObjCCallable public open external expect fun installationsWithApp(application: objcnames.classes.FIRApp): suntrix.kmp.firebase.installations.FIRInstallations { /* compiled code */ }

    @kotlin.commonizer.ObjCCallable public open external expect fun new(): suntrix.kmp.firebase.installations.FIRInstallations? { /* compiled code */ }
}
I ended up changing
modules = FirebaseInstallations
to
modules = FirebaseCore FirebaseInstallations
in my .def file