Do a full power cycle, upon logging back in do not start any applications, force quit if need be. Then reinstall xcode, I know it will be painful. I had a similar thing today I had to install xcode and every time I went to start xcode it would just disappear.