Closed scooterman closed 1 year ago
it seems to be Xcode 15 issue. Add following to robovm.xml
<tools>
<linker>
<flags>
<flag>-ld_classic</flag>
</flags>
</linker>
</tools>
Hello @dkimitsa,
Thank you, adding the link flag worked.
this seems to be xcode issue, here is a discussion
-ld_classic
My robovm.xml looks like this; where is it supposed to go? @dkimitsa
Issue details
I'm trying to compile a project on the latest robovm and got this error. This was not happening on 2.3.19. Let me know if you need any other information. Cleaning the caches and recompiling doesn't fix the issue.
Browsing the internet it seems I need to pass the flag -ld64 or -ld_classic to the linker but I couldn't find a way to do it.
Reproduction steps/code
I can't provide the the code to reproduce it but I can provider further information if needed be.
Configuration
Build Tools:
Versions:
Please provide the version of RoboVM, XCode and JDK used
Build Targets:
Iphone 14 on simulator, regular arm64 build.
Stacktrace