title: “Xcode” is damaged and can’t be opened. You should move it to the Trash
body: <p>Installed <code>XCode 6</code> on <code>Mavericks</code>. It din't run. Updated OS to <code>Yosemite 10.10</code> : Now Xcode.app (installed through *.dmg) launch fails with error message <code>“Xcode” is damaged and can’t be opened. You should move it to the Trash.</code> Updated to <code>XCode 6.0.1</code> through App Store. Still no luck. Same error message. Anyone with a fix?</p>
  
  <p><img src="https://i.stack.imgur.com/KIXcW.png" alt="enter image description here"></p>