0

I am new to Xcode. Recently Xcode on machine is broken. I am getting error "Unable to boot up iOS simulator"

I tried lot of steps mentioned on stackoverflow and blogs but couldn't get it working.

I am hoping reseting Xcode will fix the problem. Even after uninstalling and reinstalling, Xcode is having previous state. Is there any way to reset Xcode along with simulators ?

kiran
  • 1,246
  • 1
  • 10
  • 16

1 Answers1

1

You will need to remove the Xcode.app data from ~/Library/Developer, which can be done from the command line (when Xcode is not running):

rm -rf ~/Library/Developer

You will then need to re-download the SDKs and Documentation from with Xcode. You might also want to check that the Command Line Tools are set-up from Preferences > Locations.

There is no need to reinstall Xcode.app, unless it's become corrupt, as nothing should ever write into the app bundle.

You might want to look at ~/Library/Application Support/Xcode as well, but on my system that folder is empty.

Droppy
  • 9,691
  • 1
  • 20
  • 27