robovm icon indicating copy to clipboard operation
robovm copied to clipboard

Can't select x86_64 when selecting "Auto (prefers [...])"

Open Berstanio opened this issue 3 years ago • 5 comments

Issue details

When creating a IntelliJ run configuration, the simulator target "Auto (prefers [...])" is used by default. On M1 macs, this let you only choose arm64 as architecture, not x86_64. Why not x86_64? When selecting the simulators directly you can select x86_64, just not for "Auto (prefers [...])".

Build Tools:

  • [x] IDEA plugin
  • [ ] Eclipse plugin
  • [ ] Gradle plugin

Versions:

  • Robovm: 2.3.18

Berstanio avatar Aug 01 '22 15:08 Berstanio

its by design. on M1 auto means iphone/ipad and arm64. if you need custom setting you just can select with extended list what is available.

dkimitsa avatar Aug 03 '22 15:08 dkimitsa

Hm than I think the UI is not that clear. When I would select on "Device Type" the mode "Auto (prefers IPhone 8)", I would guess it would select a device type automatically, not a architecture too. The "architecture" field below is also not showing something like "auto", indicating that it would be choosable. The background of my request is, that on libGDX on the main backend arm64 simulators are not supported. Telling the user "arm64 simulator is not working" doesn't help, because they think they are not able to choose x86_64 architecture because of the UI. So it would be great if either the UI could be more clear about the "auto architecture" or that a auto device type doesn't mean a auto architecture.

Berstanio avatar Aug 03 '22 15:08 Berstanio

understand the case with x86_64 legacy, the option can be added. thx

dkimitsa avatar Aug 03 '22 16:08 dkimitsa

@Berstanio fix proposed https://github.com/MobiVM/robovm/pull/675/

dkimitsa avatar Aug 05 '22 12:08 dkimitsa

Great, thank you!

Berstanio avatar Aug 08 '22 15:08 Berstanio