Why does Xcode open when I start OS X? Why does Xcode open with this file every time I start or restart OS X 10.8.4? I close it each time, have never manually opened it, and have no .savedState folder for Xcode in ~/Library/Saved Application State/.

What else might be causing it to open?
You can see everything that is supposed to open on login in System Preferences > Users &amp; Groups > Login Items. These will open even if you uncheck "Reopen windows when logging back in." in the logout dialog box.