Skip to content
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

Compile Swift code inside Kotlin framework #80

Open
Alex009 opened this issue Jun 1, 2023 · 1 comment
Open

Compile Swift code inside Kotlin framework #80

Alex009 opened this issue Jun 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Alex009
Copy link
Member

Alex009 commented Jun 1, 2023

To make integration easier we should automatically compile generated Swift code and automatically link this compiled swift with kotlin framework.
in this case we can use any integration to xcode (cocoapods. regular framework, xcframework and any other) and should not copy some files to our swift xcode project.

research repository here - https://github.com/Alex009/moko-kswift-linker
at now i see how we can add swift compiled additions to static framework without overhead. but for dynamic framework we should do link stage two times. firstly just compile kotlin code, then generate swift, compile swift using compiled kotlin and then again run link of dynamic kotlin framework with added swift static library.

@Alex009 Alex009 added the enhancement New feature or request label Jun 1, 2023
@Alex009 Alex009 self-assigned this Jun 1, 2023
@marcorighini
Copy link

This would a great improvement, do you have some updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants