I'm trying to register a task that depends on `ios...
# multiplatform
e
I'm trying to register a task that depends on
iosArm64Test
but Gradle says that there is no task registered with that name. There are tasks registered for
iosX64Test
and
iosSimulatorArm64Test
. Is that expected? I'm running this on Linux; would that affect the
iosArm64Test
task from getting registered (and if so, why not the others)?
e
I believe that is expected. only simulator exists for ioxX64, but iosArm64 has both device and simulator variants
e
So shouldn't there be a test task for the
iosArm64
device variant?
I have no experience with ios btw; trying to get some stuff set up for my iOS team
e
Oh because that means an actual device, as in the tests would be run on an actual iPhone?
e
yes
e
So
iosX64Test
would run the test natively on the host, and
iosSimulatorArm64Test
would spin up a simulator and run the tests on that?
e
iosX64Test is run in the simulator, same as iosSimulatorArm64Test. the iOS simulator is not an emulator and uses the same CPU as the host
so depending on whether it's executed on a intel mac or an m1 mac, one or the other will be enabled
e
Oh interesting, thanks!