-
-
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
Compilation errors on iOS #11
Comments
I have also reported this issue to JetBrains. JetBrains/compose-multiplatform#2694 but it may not be a problem at all if Bonsai is used as a library and not from the sources as in my test case. But I don't know for sure. |
Draft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am currently trying to get Bonsai Core working in a multiplatform project with iOS which
is currently not supported by Bonsai. So I just copied over the sources into my project to
see whether this would be feasible. Formally I just had to add an actual implementation
for the "randomUUID" (see below) which was not a big issue because that is directly
available as a native function on iOS.
This setup worked out of the box for desktop and Android (both JVM) but compilation failed
with the following error for iOS.
Do you have an idea how to fix that? I don't know where these two libraries should come
from because I have not declared any dependency on Bonsai in my Gradle setup. In order to verify this I renamed
BonsaiStyle
toBonsaiStyleX
in my project so that it is different from any possible external reference but the error message remained the same now correctly referring toBonsaiStyleX
.It would be nice if you could support iOS directly because Bonsai works nicely so far on
the other platforms even with more than 2000 entries in the tree.
I tested this on macOS 12.6.3 Monterey, Kotlin 1.8.0, Compose 1.3.0
Michael
Actuals.kt:
The text was updated successfully, but these errors were encountered: