You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(ios): update cap cache and remoe HomeFinderFeature in order to build ios with graal 23
* chore: update gut to 9.2.1
* feat: Use new built ios JDK in iOS export
* doc: Remove experimental warning for ios and specify graal vm version to use
* chore: remove ios_graal_fix.c from repo
* chore: simplify gradle copyDefaultGraalIOSConfigsTask
* fix: set tests to run on macos-13 runners
* feat: download cap files from external project used to generate them
* chore: Add special thanks to MOE community
* doc: Add graal vm download link in iOS export guide
* doc: Add KB to update iOS JDK version in documentation
In order to update the JDK for iOS, you will need to follow the next steps:
2
+
3
+
- Create a repo similar to [ios-graal-jdk-21](https://github.com/utopia-rise/ios-graal-jdk-21).
4
+
This repo should contain `labs-openjdk` repo from GraalVM for the corresponding JDK version as a submodule.
5
+
It should also contain graal repo as a submodule, using release tag for the GraalVM version associated to the desired
6
+
JVM version.
7
+
You may need to update the git patch in this repo.
8
+
You may need to update xcode projects in this repo.
9
+
Once done and compiled, create a new release and upload new built static libraries to this release.
10
+
- Update CAP (C Annotation Processor) cache in [cap-cache-generator](https://github.com/utopia-rise/cap-cache-generator).
11
+
To do so, change your `GRAALVM_HOME` environment variable to point to the new GraalVM you're updating for.
12
+
Then tag a new release and upload new CAP files in it.
13
+
- Change iOS JDK versions and CAP cache versions in `libs.versions.toml` of this project.
14
+
- Change graalvm version and link in [exporting guide](https://github.com/utopia-rise/godot-kotlin-jvm/blob/master/docs/src/doc/user-guide/exporting.md) iOS section.
Copy file name to clipboardExpand all lines: docs/src/doc/user-guide/exporting.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,17 +103,13 @@ On desktop platform default export is inferred by the `godot_kotin_configuration
103
103
## iOS
104
104
105
105
!!! warning
106
-
IOS export is experimental.
106
+
With this export you don't have a choice regarding JVM version you use. Please use [GraalVM 23.1.3](https://download.oracle.com/graalvm/21/latest/graalvm-jdk-21_macos-aarch64_bin.tar.gz).
107
107
108
108
Additionally, to the regular GraalVM configuration mentioned above, add the following in`build.gradle.kts`:
109
109
110
110
```kotlin
111
111
godot {
112
-
isGraalNativeImageExportEnabled.set(true)
113
112
graalVmDirectory.set(File("Path to your graalVM install")) // or setup GRAALVM_HOME environment variable.
114
113
isIOSExportEnabled.set(true)
115
114
}
116
-
```
117
-
118
-
!!! warning
119
-
With this export you don't have a choice regarding JVM embedding in the app. Godot Kotlin's Gradle plugin will automatically download a iOS static JDK libraries and pack it with your code for iOS.
0 commit comments