https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

Raed Ghazal

10/05/2023, 7:56 PM
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

streetsofboston

10/05/2023, 8:10 PM
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

mkrussel

10/05/2023, 8:16 PM
I've seen this happen when you are using an arm based Mac since there is no X64 simulator.
r

Raed Ghazal

10/06/2023, 7:28 AM
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

mkrussel

10/06/2023, 12:58 PM
You should have
iosSimulatorArm64
as one of your targets and then the run task menu should show
iosSimulatorArm64
as one of the options.
r

Raed Ghazal

10/07/2023, 8:06 AM
I do, but still its now showing up
a

Angga Ardinata

10/09/2023, 1:13 AM
@Raed Ghazal.. have you solved this ? im using macbook air m1 .. and having this problem
r

Raed Ghazal

10/09/2023, 9:03 AM
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.
4 Views