Skip to content

Commit

Permalink
Upgrade RoboVM version and minOSVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
obigu committed Feb 28, 2025
1 parent eb14e0d commit ec383be
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ bottom, select Build Tools version 33.0.2, and click Apply or OK. Then follow th
### When importing an iOS project, an error mentions SeekableByteChannel.

Like the above error, this involves `void org.apache.commons.compress.archivers.zip.ZipFile.<init>(java.nio.channels.SeekableByteChannel)'`.
This has to do with the placement of the `robovm` plugin, which as of RoboVM 2.3.20 needs to be in `ios/build.gradle`,
This has to do with the placement of the `robovm` plugin, which needs to be in `ios/build.gradle`,
not the root `build.gradle`. This is automatically fixed in projects generated by gdx-liftoff 1.12.0.1 and later, but
if you're for any reason using an older version, you can replace the top of `ios/build.gradle` with:
```gradle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class GlobalActionContainer : ActionContainer {
fun getDefaultAndroidPluginVersion(): String = "8.1.4"

@LmlAction("roboVMVersion")
fun getDefaultRoboVMVersion(): String = "2.3.20"
fun getDefaultRoboVMVersion(): String = "2.3.22"

@LmlAction("gwtPluginVersion")
fun getDefaultGwtPluginVersion(): String = "1.1.29"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/generator/ios/Info.plist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<key>UIStatusBarHidden</key>
<true/>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/i18n/nls.properties
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ sdkVersionTip=Version of the targeted Android API; should be at least 30.
androidPluginVersion=Android plugin:
androidPluginVersionTip=Version of Android Gradle plugin.
robovmVersion=RoboVM version:
robovmVersionTip=Version of RoboVM framework used by the iOS backend. 2.3.20 is the default, but this may need changing for different libGDX versions.
robovmVersionTip=Version of RoboVM framework used by the iOS backend.
javaVersion=Java version:
javaVersionTip=Used as source compatibility value. 8 is advised unless you specifically want to target old Android devices or iOS; those might need 7. Using 11 may be needed to target Android.
serverJavaVersion=Server Java version:
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ui-data/defaults.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ libgdxDefaultVersion=1.13.1
javaDefaultVersion=8
appDefaultVersion=1.0.0
androidPluginDefaultVersion=8.1.4
robovmDefaultVersion=2.3.20
robovmDefaultVersion=2.3.22
gwtPluginDefaultVersion=1.1.29
addGuiAssetsDefault=false
addReadmeDefault=true
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ui-data/nls.properties
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ versionTip=Used as your application's version when building archives with Gradle
gdxVersion=LIBGDX VERSION
gdxVersionTip=Version of the official libGDX libraries. The latest release was %s.
robovmVersion=ROBOVM VERSION
robovmVersionTip=Version of RoboVM framework used by the iOS backend. 2.3.20 is the default, but this may need changing for different libGDX versions.
robovmVersionTip=Version of RoboVM framework used by the iOS backend.
javaVersion=JAVA VERSION
javaVersionTip=Used as source compatibility value. 8 is advised unless you specifically want to target old Android devices or iOS; those might need 7. Using 11 may be needed to target Android.
generateSkin=ADD GUI ASSETS
Expand Down

0 comments on commit ec383be

Please sign in to comment.