```> Task :iosX64Test Invalid device: iPhone 12...
# ios
r
Copy code
> Task :iosX64Test
Invalid device: iPhone 12
java.lang.IllegalStateException: command '/usr/bin/xcrun' exited with errors (exit code: 148)
Yeah I don’t have an iPhone 12 simulator, but why does it try running my tests on it? There are other simulators available, why does it want to use something that isn’t there?
I can’t find anywhere this would be configured
This worked, but I don’t know why it selects a non existing simulator without any configuration
Copy code
tasks.getByName<KotlinNativeSimulatorTest>("iosX64Test") {
    deviceId = "iPhone 13"
}
(but it’s 11 there, not 12 🤯 )
r
Yeah so it’s not that. It’s also my first implementations of tests in this project and they never ran on anything but an iPhone 13 simulator so it’s weird.
j
Did you find out what was the problem? I have the same issue
r
No, I have an existing simulator manually configured as above everywhere I have iOS tests
j
thanks 🙂
if you search this exact thing here on slack in multiplatform channel, you’ll find more people discussing it 🙂
there are different approaches
462 Views