title: XCode encountered an internal logic error on Startup
body: <p>I am trying to install latest xcode on OSX 10.7. It installs without any error but whenever I try to start it I get "XCode encountered an internal logic error":</p>
  
  <blockquote>
    <p>UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[IDECustomToolbar
    setFullScreenAccessoryView:]: unrecognized selector sent to instance
    0x4021dee80 UserInfo: (null) Hints: None</p>
  </blockquote>
  
  <p>I have tried to clear caches and profile, reinstall xcode but still getting same error. </p>
  
  <p>what could be the error and how can I fix it?</p>
  
  <p>Haris </p>