-
Notifications
You must be signed in to change notification settings - Fork 136
-
Hello Community,
I face the issue Xcode 26 is not supported now.
Can you confirm my understanding, please?
I try to build iOS version mobile game based on the LibGDX engine and fail.
Maybe some alternatives exist. I can not downgrade Xcode as my OS do not support older. (I am with Tahoe)
Main problem with LaunchScreen.storyboard.
I can disable it, but then my game is cut top and bottom with black rows.
For now, started "hard" way - installing virtual macOS to install older Xcode, but that can not be long term working solution.
Thanks in advance for your comments.
Beta Was this translation helpful? Give feedback.
All reactions
21A342", "21C62" seems to be related to ios17 runtime.
I would go to Xcode-Settings-Components and check what iOS simulators you have there.
probably iOS17 are broken one.
the option would be to delete all not required/broken (or all).
and re-install if you need anything other than iOS 26
Replies: 3 comments 10 replies
-
hello @hennadiib ,
can you please provide more details, like error message stack trace etc.
why do you think it is an issue with Xcode 26 ?
thx.
Beta Was this translation helpful? Give feedback.
All reactions
-
Sure, my setup:
OS: Tahoe
Xcode: 26.2
RoboVMVersion: 2.3.20
After a good few days of debuggin it, I realised my build on the simulator is successful once I remove the file LaunchScreen.storyboard and lines in Info.plist.xml <key>UILaunchStoryboardName</key>. I checked in few sources, and output was - RoboVM not compatible with Xcode 26.
What I do:
- Termanal
./gradlew ios:launchIPhoneSimulator
> Task :ios:launchIPhoneSimulator FAILED
[Incubating] Problems report is available at: file:///pathtoproject/projects/games/capitosh-game/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ios:launchIPhoneSimulator'.
> Failed to launch simulator
Command '[/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool, --target-device, iphone, --target-device, ipad, --minimum-deployment-target, 11.0, --output-partial-info-plist, /Users/h9842/projects/games/capitosh-game/ios/build/robovm.tmp/partial-plists/LaunchScreen.storyboard_10836611712646846764.plist, --auto-activate-custom-fonts, --output-format, human-readable-text, --compilation-directory, pathtoproject/projects/games/capitosh-game/ios/build/robovm.tmp/IOSLauncher.app/Base.lproj, pathtoproject/projects/games/capitosh-game/ios/data/Base.lproj/LaunchScreen.storyboard]' failed (Exit value: 1)
- Run from Android Studio with the plugin.
[ERROR] Couldn't compile app
org.apache.commons.exec.ExecuteException: Command '[/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool, --target-device, iphone, --target-device, ipad, --minimum-deployment-target, 11.0, --output-partial-info-plist, /Users/h9842/projects/games/capitosh-game/ios/robovm-build/tmp/iOS Run/ios/arm64-simulator/partial-plists/LaunchScreen.storyboard_7881940593718596925.plist, --auto-activate-custom-fonts, --output-format, human-readable-text, --compilation-directory, /Users/h9842/projects/games/capitosh-game/ios/robovm-build/tmp/iOS Run/ios/arm64-simulator/IOSLauncher.app/Base.lproj, /Users/h9842/projects/games/capitosh-game/ios/data/Base.lproj/LaunchScreen.storyboard]' failed (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.robovm.compiler.util.Executor.exec(Executor.java:344)
at org.robovm.compiler.util.ToolchainUtil.ibtool(ToolchainUtil.java:359)
at org.robovm.compiler.target.ios.IOSTarget5ドル.processFile(IOSTarget.java:960)
at org.robovm.compiler.config.Resource.walk(Resource.java:447)
at org.robovm.compiler.config.Resource.walk(Resource.java:454)
at org.robovm.compiler.config.Resource.walk(Resource.java:434)
Internet and ChatGPT say - it is about compatibility of new Xcode and your product. ...Maybe I am wrong... Hope I am wrong :)
Beta Was this translation helpful? Give feedback.
All reactions
-
thx for detail,
sadly can't see any error output from ibtool in your log.
meanwhile have tested and seems to be working for me:
- used gdx-liftoff-1.14.0.3.jar to generate simple iOS project;
- started it with
./gradlew --info launchIPhoneSimulator
I assume it might be related with you storyboard file.
could you please try on sample projects (with steps above) ?
also if it possible please share sample project that reproduce the issue.
Thx !
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello @dkimitsa ,
Here is an initial LibGDX project without any changes. https://github.com/hennadiib/reproduce-issue-libgdx-romovm
To run it on android - simply connect device and start in Android Studio...
To run on iOS I create a configuration with RoboVM in Android Studio, start the iOS simulator, and run...
It fails with the error below...
[ERROR] Couldn't compile app
org.apache.commons.exec.ExecuteException: Command '[/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool, --target-device, iphone, --target-device, ipad, --minimum-deployment-target, 12.0, --output-partial-info-plist, /Users/h9842/projects/games/reproduce-issue-libgdx-romovm/ios/robovm-build/tmp/Unnamed/ios/arm64-simulator/partial-plists/LaunchScreen.storyboard_7601392009758403706.plist, --auto-activate-custom-fonts, --output-format, human-readable-text, --compilation-directory, /Users/h9842/projects/games/reproduce-issue-libgdx-romovm/ios/robovm-build/tmp/Unnamed/ios/arm64-simulator/IOSLauncher.app/Base.lproj, /Users/h9842/projects/games/reproduce-issue-libgdx-romovm/ios/data/Base.lproj/LaunchScreen.storyboard]' failed (Exit value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.robovm.compiler.util.Executor.exec(Executor.java:344)
at org.robovm.compiler.util.ToolchainUtil.ibtool(ToolchainUtil.java:359)
at org.robovm.compiler.target.ios.IOSTarget5ドル.processFile(IOSTarget.java:960)
at org.robovm.compiler.config.Resource.walk(Resource.java:447)
at org.robovm.compiler.config.Resource.walk(Resource.java:454)
at org.robovm.compiler.config.Resource.walk(Resource.java:434)
Beta Was this translation helpful? Give feedback.
All reactions
-
My simulators may be outdated...checking one more thing now.
Output of command you provided:
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --app-icon AppIcon --output-partial-info-plist /Users/h9842/projects/games/capitosh-game/ios/build/robovm.tmp/partial-plists/Assets.xcassets_47264947165383153.plist --platform iphonesimulator --export-dependency-info /Users/h9842/projects/games/capitosh-game/ios/build/robovm.tmp/assetcatalog_dependencies --minimum-deployment-target 11.0 --target-device iphone --target-device ipad --compress-pngs --compile /Users/h9842/projects/games/capitosh-game/ios/build/robovm.tmp/IOSLauncher.app /Users/h9842/projects/games/capitosh-game/ios/data/Assets.xcassets
/* com.apple.actool.errors */
/Users/h9842/projects/games/capitosh-game/ios/data/Assets.xcassets: error: No simulator runtime version from ["21A342", "21C62"] available to use with iphonesimulator SDK version 23C53
/* com.apple.actool.compilation-results */
/Users/h9842/projects/games/capitosh-game/ios/build/robovm.tmp/IOSLauncher.app/AppIcon60x60@2x.png
/Users/h9842/projects/games/capitosh-game/ios/build/robovm.tmp/IOSLauncher.app/AppIcon76x76@2x~ipad.png
/Users/h9842/projects/games/capitosh-game/ios/build/robovm.tmp/partial-plists/Assets.xcassets_47264947165383153.plist
Beta Was this translation helpful? Give feedback.
All reactions
-
I use 26.1.1.
error: No simulator runtime version from ["21A342", "21C62"] available to use with iphonesimulator SDK version 23C53
there are issues with simulator runtime as I mentioned above. Try removing not available / fixing them through Xcode-devices menu.
Beta Was this translation helpful? Give feedback.
All reactions
-
UPDATE - give me 10 minutes :) Seams I see issue...
@dkimitsa I try to cleanup all the simulators I have.
error still the same:
/Users/h9842/projects/games/capitosh-game/ios/data/Assets.xcassets: error: No simulator runtime version from ["21A342", "21C62"] available to use with iphonesimulator SDK version 23C53
Can you once again point me on possible solution? Can not understand why it works for you and not for me...
Beta Was this translation helpful? Give feedback.
All reactions
-
21A342", "21C62" seems to be related to ios17 runtime.
I would go to Xcode-Settings-Components and check what iOS simulators you have there.
probably iOS17 are broken one.
the option would be to delete all not required/broken (or all).
and re-install if you need anything other than iOS 26
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Oh man, you are so right! @dkimitsa
The problem was with simulator...
I used Xcode few years back for similar task (start simulator) and created some fake project for that.
Opened always this project in Xcode... Just now I created new one, Xcode trigger automatically installing new simulator.
Issue solved. App started as expected.
I burned two days on this 🙂 So ridiculous.
Thanks a lot for your time, patience, and support!
(Тищі і миру на батьківщині)
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1