-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Kotlin multiplatfrom #3249
Comments
Update 2-mar-2025: |
Integration shouldn't be different from integration with any other native shared library. There should be multiple tutorials for this, but I didn't do this myself for an iOS app in Kotlin and can't help with the exact steps. |
@levlam Thank you. |
Update 4-mar-2025: For now, lets forget about kotlin/native. I successfully managed to run
Here is a sample to create a new dylib file that will link the
next step is iOS |
Hi there. First I know this question might be silly but i'm stuck for weeks now.
I'm trying to use tdlib in a
kotlin multiplatfrom
project. I successfully integrated theAndroid
part using the JNI. You can see the android structure part:But i'm confused for the
ios
anddesktop (macos)
part. I build thetd
lib based on the ios example and I have these folders after the build:first I try to use the xcframework as you can see here:
but I got nowhere with this.
second I try to use the koltin/native by importing the
dylib
andheaders
files:But still I got no progress here.
There may be a misunderstanding, but I can not figure it out.
Please, any clue or point would be appreciated here.
The text was updated successfully, but these errors were encountered: