Please help I can't use xcode

I keep being unable to preview my app in the content view file. It keeps bringing up the same error message:

HumanReadableNSError: Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding

I saw a couple of posts about this that were a few months old but none of the answers seemed to fix my problem.

Alright it works now that I reinstalled it

Please help I can't use xcode
 
 
Q