-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add ios target support #40
Conversation
fa4a747
to
9231972
Compare
Hello @makindotcc 👋 Thank you for your contribution. I don't think that library needs to have Let me know if you run into issues using library this way. I believe you should be able to just add this library to your multiplatform project as instructed in implementation("com.ensarsarajcic.kotlinx:serialization-msgpack:${kotlinxSerializationMsgPackVersion}") And you should be able to target iOS without any issues in your multiplatform project. |
Hello 👋 When I try to use main version, like that: val commonMain by getting {
dependencies {
implementation("com.ensarsarajcic.kotlinx:serialization-msgpack:0.2.0")
}
} then I get following errors:
I saw, like you said, that the library is based only on "common" source set, so maybe there is a better way to add support for all targets instead of adding every target manually? |
I think you are right... Looking at |
Thank you once again for your contribution @makindotcc. This should be available in version 0.2.1. Can you confirm it is working as expected? |
Dunno if this is 100% correct as it's my first days with kotlin multiplatform, but it compiles! also basic serialization on ios seems to work.