-
Notifications
You must be signed in to change notification settings - Fork 124
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
iOS tests crash after update to kotlin 2.1.0 and moko-resources 0.24.4 #796
Comments
I am experiencing the same issue. This issue seems to be reproduced only in a multi-module application, since I tested it on kotlin2_sample with Kotlin 2.1.0 and it worked fine. Reproduced in: Xcode Version 16.2 (16C5032a) Reproduction project included: |
We're also being affected by this. |
We are experiencing the same issue. Any workaround for this? |
It is perhaps worth noting that Kotlin/Native 2.1.0 is a forwards incompatible change, meaning that libraries built with Kotlin 2.1.0 will not be able to be consumed from Kotlin 2.0.21 and before. Trying to do so results in a message similar to the following:
This is preventing my team, and will likely prevent everyone using this library, from upgrading dependencies until this is worked around or resolved. So far we've had to park to kotlinx-coroutines 1.10.1 and okio 3.10.1 dependency upgrades. |
After some more research, we discovered that:
|
@kevincianfarini @jasvilladarez I am using this script as a workaround, maybe it will be helpful in your case. It walks through folders and finds all .bundle packages and copies it into framework package. It may be not the most optimal way but it works for me. it'll most certainly not going to work in static framework case since recources packaged separately in static case. Shell: /bin/bash
|
Hey,
I updated to kotlin 2.1.0 and moko-resources 0.24.4 and now my iOS tests crash:
Here is an example project.
The text was updated successfully, but these errors were encountered: