Open
Description
Exporting an iOS app in the latest version (v0.13.1) leads to various errors and warnings.
- When exporting an iOS app in Godot, the following error is produced
ERROR: Failed to open '.../jvm/ios/jvm/usercode.a'.
ERROR: ./editor/export/editor_export_platform.h:243 - Export: Could not copy a file at path ".../jvm/ios/jvm/usercode.a" to "ios/usercode.a".
Expected behaviour: usercode.a
should be copied from its actual location at jvm/ios/usercode.a
- After moving the usercode file to the expected location the export succeeds however, there are multiple warnings referencing several paths to a developers local machine

- After running the app generated by the export, the following exception is thrown
Godot-JVM: VM set to graal_native_image
Exception in thread "main": java.lang.NoSuchMethodError
java.lang.NoSuchMethodError: godot.runtime.Bootstrap.initJar(Ljava/lang/ClassLoader;)V
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions$Support.getMethodID(JNIFunctions.java:1848)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions$Support.getMethodID(JNIFunctions.java:1833)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions.GetMethodID(JNIFunctions.java:443)
Exception in thread "main": java.lang.NoSuchMethodError
java.lang.NoSuchMethodError: godot.runtime.Bootstrap.initNativeImage()V
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions$Support.getMethodID(JNIFunctions.java:1848)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions$Support.getMethodID(JNIFunctions.java:1833)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions.GetMethodID(JNIFunctions.java:443)
Exception in thread "main": java.lang.NoSuchMethodError
java.lang.NoSuchMethodError: godot.runtime.Bootstrap.getVersion()Ljava/lang/String;
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions$Support.getMethodID(JNIFunctions.java:1848)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions$Support.getMethodID(JNIFunctions.java:1833)
at org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions.GetMethodID(JNIFunctions.java:443)
This is likely related to the manual moving of the usercode.a
as further static libraries may not be found in their expected locations
Steps to reproduce
The project being build can be found in mobile/
directory of https://github.com/jackchapm/multiplayer-cards
The export presets aren't committed to the repo, so your own configuration must be made.
The latest export templates are being used from here
Metadata
Metadata
Assignees
Labels
No labels