MobiVM / robovm

Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux
https://mobivm.github.io
942 stars 132 forks source link

IPA build runs into error when it upgrades to the Xcode 15 #767

Closed congcoi123 closed 5 months ago

congcoi123 commented 5 months ago

Hi team, Thank you so much for your time in maintaining this awesome tool. Recently, I faced an issue when trying to build the IPA file. Could you please help investigate the issue? I appreciate your support.

Issue details

Reproduction steps/code

Configuration

Build Tools:

Versions:

Build Targets: IPA file


Stacktrace

java.lang.IllegalArgumentException: While building for ios thumbv7, no library for this platform was found in 'gdx.xcframework'
    at org.robovm.compiler.config.ResolvedLocations$Resolver.processXCFramework(ResolvedLocations.java:238)
    at org.robovm.compiler.config.ResolvedLocations$Resolver.performLookup(ResolvedLocations.java:169)
    at org.robovm.compiler.config.ResolvedLocations$Resolver.resolve(ResolvedLocations.java:104)
    at org.robovm.compiler.config.Config.resolveLocations(Config.java:2223)
    at org.robovm.compiler.config.Config.getResolvedLocations(Config.java:449)
    at org.robovm.compiler.config.Config.getLibs(Config.java:436)
    at org.robovm.compiler.Linker.link(Linker.java:220)
    at org.robovm.compiler.AppCompiler.compile(AppCompiler.java:520)
    at org.robovm.compiler.AppCompiler.build(AppCompiler.java:966)
    at org.robovm.idea.compilation.RoboVmCompileTask$1.doCompile(RoboVmCompileTask.java:107)
    at org.robovm.idea.compilation.RoboVmCompilerThread.run(RoboVmCompilerThread.java:69)
dkimitsa commented 5 months ago

hi, it has nothing to do with RoboVM. libgdx has dropped 32bit thumbv7 support. Your will be not able to build it anymore. you have to go arm64 and ios11 min target.

congcoi123 commented 5 months ago

Hi @dkimitsa, I appreciate your prompt response. I followed your instructions and resolved the issue.