MobiVM / robovm

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

* fixed: in case of simulator, embedded frameworks/dylibs were stripped for not required arches #671

Closed dkimitsa closed 2 years ago

dkimitsa commented 2 years ago

Root case

its a regression after M1 support: .isArm() doesn't mean device target anymore, to filter out simulator environment check to be done

other moment

currently compiler will try to copy swift dynamic libraries but these lack arm64-simulator slice and arch strip will fail that block launch on simulator. described behaviour is an another issue itself -- we should not try to copy swift dylibs in case of arm64-simulator but its to be provided as standalone PR