"Xcode will damage your computer. Move it to trash."

Hi,

Anyone getting this with Xcode 7.1b2? b1 was fine for me.


I downloaded it a second time and it happened again.


Any ideas?


Regards, Patrick

Accepted Reply

Had the same thing - DMG validates fine. Had to do the following:


  • cd /Applications
  • xattr -r -d com.apple.quarantine Xcode-beta.app


Optionally, to check Xcode-beta.app is signed by Apple (mine is):


  • (reboot, because spctl wouldn't run until I did)
  • cd /Applications
  • spctl --verbose=4 --assess --type=execute Xcode-beta.app

Replies

Had the same thing - DMG validates fine. Had to do the following:


  • cd /Applications
  • xattr -r -d com.apple.quarantine Xcode-beta.app


Optionally, to check Xcode-beta.app is signed by Apple (mine is):


  • (reboot, because spctl wouldn't run until I did)
  • cd /Applications
  • spctl --verbose=4 --assess --type=execute Xcode-beta.app

Thanks, that worked!

Did you actually download it FROM APPLE? Or somewhere else?

Was it properly signed by Apple? (Did yo ucheck?)


It's been all over the news and the forums that modified versions of Xcode have been used so that your resulting executable will contain a virus, worm, or some other malware.