1

I tried to reset the contents and setting of an iOS-Simulator. I find this command line:

xcrun simctl erase <deviceID>

but i get this error:

Unable to erase contents and settings in current state: Booted

how is it possible to reset the contents and setting when the simulator is booted?

Thank for helping. Cheers

emoleumassi
  • 4,881
  • 13
  • 67
  • 93

1 Answers1

1

It isn't. You must shutdown the sim device to erase contents and settings.

Jeremy Huddleston Sequoia
  • 22,938
  • 5
  • 78
  • 86