Open source software that isn’t signed by an identified developer can cause headaches upgrading it on OSX. While working with the Arduino Due the first time, I downloaded 1.5 Beta of the Arduino IDE and ran into this error:
“Arduino is damaged and can’t be opened. You should move it to the Trash.
Here’s why you see the “… is damaged and can’t be opened” dialog and how to fix it.