hey, when i try to run common tests on ios I get t...
# multiplatform
r
hey, when i try to run common tests on ios I get this error
Copy code
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':shared:iosX64Test'.
> Error while evaluating property 'device' of task ':shared:iosX64Test'.
   > Failed to calculate the value of task ':shared:iosX64Test' property 'device'.
      > Xcode does not support simulator tests for ios_x64. Check that requested SDK is installed.
any idea why ?
s
Did you just upgrade to the latest XCode? If so, it seems that it cause many folks the deletion of their simulators.
(it happened for me)
m
I've seen this happen when you are using an arm based Mac since there is no X64 simulator.
r
yes and yes @streetsofboston I didn’t upgrade it, but suddenly the simulator got deleted and installing it again is not working, its pretty buggy, idk if thats the reason. @mkrussel yes I use M1, do you have any way around?
@streetsofboston I’m not even able to run the app on my iPhone anymore
m
You should have
iosSimulatorArm64
as one of your targets and then the run task menu should show
iosSimulatorArm64
as one of the options.
r
I do, but still its now showing up
a
@Raed Ghazal.. have you solved this ? im using macbook air m1 .. and having this problem
r
nope nothing, tried every solution out there
I ended up calling them on normal app run and printing out the results in log
I use macbook pro m1 so apparently its the issue.