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
Root case
its a regression after M1 support:
.isArm()
doesn't mean device target anymore, to filter out simulatorenvironment
check to be doneother moment
currently compiler will try to copy swift dynamic libraries but these lack
arm64-simulator
slice andarch 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 ofarm64-simulator
but its to be provided as standalone PR