-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add ability to specify external dependencies #37
Comments
When it will be available ? I really need to use external dependencies... |
Unfortunately, I'm quite busy for the next couple of weeks 🙁 |
Awesome, if you do this feature, it will be insane because so far there is literally NO WAY to call Swift code from your kotlin code that use external libraries. |
We are really interested to see this feature working. Is there any update? How can we help? |
Super interesado en esta funcionalidad, realmente es muy complicado usas sdk externos en KMP |
Small update: I'm working on it, but this is quite challenging task to do. Currently I have extremely basic implementation which supports only one KMP module and does not support any other use-case: #47 |
@IlyaGulya if you can reproduce (or even call) from Gradle the following command
The official command for updating a package file from command line. The best way is using what the command line is offering. UPDATE: after reading your PR, you're doing it yourself, not the command line. |
By exemple: You can generate and check what you're doing for a package by the following commands
In this current case, the package name of Firebase need to be declared and also the platform target of the generated product. The platform can't be added from the command line (nooooh!) and local package directly. then test with |
@IlyaGulya I did something from a fork of your current PR branch, replacing text manipulation by the command line and more. All tests are passing and if you like it, tell me. |
@frankois944 thanks, I will take a look this week! |
@IlyaGulya on the continuation of the PR #49, I have made another branch for managing local/remote binary (not in PR right now). |
@IlyaGulya For example, I need to use the swift package manager sdk, or my own .framework locally. How would I do it? I import my packages normally in Swift, but in my classes and functions @objc I could use it without the compatibility problem that it generates |
@estreteca The current work will make possible to add external dependency of the source swift file used. |
Tracking issue for external dependencies.
We should allow either of these two options:
The text was updated successfully, but these errors were encountered: