Hey team! QQ: I'm working on a KMP library with an...
# swift-export
g
Hey team! QQ: I'm working on a KMP library with an iOS target. My lib is consuming FirebaseAuth via cinterop. It looks like
SwiftExportAction
doesn't "see" the created interop library. What am I doing wrong? Is it even possible in the current state of the swift export? the error is
Copy code
Execution failed for task ':shared:iosX64DebugSwiftExport'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.plugin.mpp.apple.swiftexport.internal.SwiftExportAction
   > Can't translate parameter value: com.google.firebase.auth.FIRUser type in constructor(value: com.google.firebase.auth.FIRUser): Symbol not found for com/google/firebase/auth/FIRUser
for the code like this
Copy code
class FirebaseUser(val value: FIRUser)
a
Hello there! 🙂 Thanks for your report. Currently Swift Export does not support CInterop. We have this on our radar, and this would be a great feature to add, but at the moment we are focusing on the language itself (i.e. coroutines). We already have a report for this feature here. Please vote for that ticket so we could correctly prioritise our future work 🙂
❤️ 1