Fork me on GitHub
#graalvm-mobile
<
2023-09-12
Tore Halset10:09:08

Hello. I got lots of help from https://github.com/phronmophobic/grease , but got in some problems with missing symbols. Looks like the static jdk libraries for iOS from GluonHQ are older than the GraalVM I am using. So for most of file-io and network operations, the native image is trying to call some functions that does not exist in the static libraries. Have anyone of you found a solution to this? I have tried with different graalvm-versions, tried/failed to build https://github.com/openjdk/mobile and looking for other static jdk library builds for iOS. I am not using Clojure for this project, just trying to cross-compile an old java code base to iOS and it seems like the Clojure community are some steps ahead.

phronmophobic03:09:15

I tried looking into this a bit, but some of the old links are broken. I then tried to check out the gluon samples, but my maven version was too old. I upgraded, but then my maven version was too new. Anyway, I'm not sure I'll get a chance to follow the rabbit trail for now. It seems like things are being kept up to date, https://github.com/gluonhq/substrate/issues/1154, but I haven't had a chance to look into it lately. You can look into substrate and it looks like gluon has their own build of graalvm. See: • https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Finalhttps://github.com/gluonhq/substrate/issues/1117 Sorry I couldn't be more help. Please report back if you do get things working!