I get the error message:
Xcode Can't be opened. "Xcode" is damaged and can't be opened. Delete "Xcode" and download it again from the App Store.
I get this message for every app I have from the app store on my computer. I had TextWrangler installed from the appstore and it was doing this, so I downloaded a different version of it online somewhere - and it works fine. Apps such as iMovie, GarageBand etc. all give this message.
I have tried rebooting. Many times.
I have deleted and re-downloaded these apps many times as well.
I've tried running terminal commands such as:
xattr -rc /Applications/Xcode.app
and
killall -KILL storeaccountd
I've tried opening these apps from a different user on this Mac, and I've tried signing out from the appstore and signing back in.
I've also tried running these apps while booted in safe mode, and still get this error every time.
Any help would be appreciated.