hi! I want to use some unit test in my iosTest mod...
# multiplatform
u
hi! I want to use some unit test in my iosTest module.There are some CInterop Class in the test code.When I build the test task,it couldn't find my cinterop class symbols.But i could build the normal task successfully. some code in build.gradle.kts:
Copy code
compilations.getByName("main") {
    val nopbWrapperBridgeInterop by cinterops.creating{
        defFile(project.file("${nopbWrapperBridgePath}/NOPBWrapperBridge.def"))
        compilerOpts("-I$objcWrapperPath")
    }
}
compilations.getByName("test") {
    val nopbWrapperBridgeInterop by cinterops.creating{
        defFile(project.file("${nopbWrapperBridgePath}/NOPBWrapperBridge.def"))
        compilerOpts("-I$objcWrapperPath")
    }
}
errors:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_KYPVideoProjectExtraInfo", referenced from:
objc-class-ref in result.o
ld: symbol(s) not found for architecture x86_64
> Task :shared:linkDebugTestIos FAILED
koltin version:1.5.10