-
Notifications
You must be signed in to change notification settings - Fork 564
Can't add submodule cinterops #3600
Comments
I see this error because FirebaseMLVisionTextModel didnt have "umbrella header" in module.modulemap. How can I resolve it in Kotlin? |
I added empty headers to framework and it's successfully compile. But I think thats no gona work |
Please extend the report with |
FirebaseMLVision.def
FirebaseMLVisionTextModel.def
|
Actually import FirebaseMLVisionTextModel can't be compiled with Swift compiler, which would report the same "inferred submodules require a module with an umbrella" error. In other word, it doesn't provide a correct module. That's why it can't be handled by |
Ok, but how can I compile it or modules like this in my multiplatform lib anyway? |
Just del language and module sections? Thats it? Not be so ez... |
You don't need processing |
Then I don't understand how to add this framework to my project. Without it FirebaseMLVision didn't recognise anything. Any ideas? |
It should be enough to make your binary link with this framework. This can be achieved in different ways. The simplest one is probably to add |
Hmmm... It's not so clear, but I try it out. Thx! |
@artemsivcev, did the approach with |
According to migrating issue tracking to YouTrack, closing this issue as answered. If you still have some reports/questions, feel free to open an issue in YoutTrack or ask us in Slack. |
I'm successfully added FirebaseMLVision, but this still need common lib.
Build.gradle:
And an error:
Some one see this before? I think it's because FirebaseMLVisionTextModel didn't have any headers. How can I compile this framework then?
The text was updated successfully, but these errors were encountered: