"Unable to delete device in current state: Creating"

I have two watchOS 2.0 devices I created back in Xcode 7.0. After upgrading to 7.2, I can't delete them. When I run "xcrun simctl list", here is how they appear:


-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-2-0 --

Apple Watch - 42mm (3E77A72A-7BBA-4013-AADF-2E842C393B98) (Creating) (unavailable, runtime profile not found)

Apple Watch - 42mm (53773BE5-37C0-40C8-90CB-34BA88509BE6) (Creating) (unavailable, runtime profile not found)


So then I tried deleting one, and got this:


$ xcrun simctl delete 3E77A72A-7BBA-4013-AADF-2E842C393B98

An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):

Unable to delete device in current state: Creating


I tried searching around, and found this page, which suggested that I restart my Mac and try it again. I did that, and I am still not allowed by simctl to delete the device (same error). How do I delete these two zombie devices, which are in a perpetual state of creation?

TungstenT,


You have to reinstall the watchOS 2.0 runtime profile. Then "erase" the device using "xcrun simctl erase <device uid>" command. The device would then be in "shutdown" state. Now it will let you delete these devices.

Thanks for the report. I've filed a radar about this. In the future, please file a radar at http://bugreport.apple.com

"Unable to delete device in current state: Creating"
 
 
Q