bluepill icon indicating copy to clipboard operation
bluepill copied to clipboard

Delete simulator issue

Open alexs555 opened this issue 7 years ago • 7 comments

Sometimes bluepill hangs with strange logs :

this issue occures for 1 simulator while -num-sims can be set to 5, for example.

[  ERROR ] (BP-5) Could not delete simulator: “09500778-42D2-4979-A99D-406A6A6DDAE6” couldn’t be removed because you don’t have permission to access it.
 [  ERROR ] (BP-5) Completed: [Attempt 2] Delete Simulator 09500778-42D2-4979-A99D-406A6A6DDAE6
 [  ERROR ] (BP-5) “09500778-42D2-4979-A99D-406A6A6DDAE6” couldn’t be removed because you don’t have permission to access it.
 [  INFO  ] (BP-5) Exit Status: BPExitStatusAppCrashed

alexs555 avatar Jan 24 '18 13:01 alexs555

We have never seen this, check if ~/Library/Developer/CoreSimulator/Devices/09500778-42D2-4979-A99D-406A6A6DDAE6 have the correct user/groups ?

oliverhu avatar Jan 24 '18 21:01 oliverhu

I have the same issue, user/group seem to match it can still use the simulators for testing, but they are not deleted

mbalex avatar Feb 06 '18 09:02 mbalex

What happens if you try to delete the simulator by hand?

xcrun simctl delete 09500778-42D2-4979-A99D-406A6A6DDAE6

ob avatar Feb 06 '18 22:02 ob

I am also facing this issue, i have all access on the folders. When i try to delete manually sometimes it deletes the simulator and sometimes it gets stuck in shutting down mode where i had to restart the coresimulator service to remove the device.

mshah-nisum-com avatar Feb 14 '18 22:02 mshah-nisum-com

What version of Xcode?

ob avatar Feb 27 '18 19:02 ob

I am also facing this issue at times, using Xcode 9.2 There are other issues too, will post under spread thread after evaluation.

Vikasgupta09 avatar Mar 15 '18 05:03 Vikasgupta09

Closing this ticket since it has been inactive for a while. Feel free to create new ones if it's still a valid issue.

chenxiao0228 avatar Dec 19 '20 22:12 chenxiao0228