Can someone tell me how to do complete reinstallation without factory resetting my Mac? The simulator does not work at all anymore and no-one has given me any advice on my other questions and it has been a number of weeks now so I give up on getting this resolved normally and would like good advice on properly reinstalling Xcode.
To uninstall drag the Xcode and simulator app to the bin from the applications folder. Delete the developer folder in Library and the plist file with Xcode in it's name from the preferences folder in the library. This is what I found most effective however:
If you get the same error again and again after reinstall it is likely a fault with the version of Xcode, older versions can be downloaded here: https://developer.apple.com/download/all/