On Mac OS 10.10 (Yosemite) this is what greets me every time I launch the Arduino application. It only does this after installing Teensy Loader. OSX signs app packages, and tampering with the package (e.g. by adding Teensy Loader) alters the package's signature, which causes the app to throw this error every time.
Proof that this is the cause of the issue:
Code:
$ codesign -v /Applications/Arduino106.app/
/Applications/Arduino106.app/: invalid Info.plist (plist or signature have been modified)
In architecture: ppc
$
What I tried:
- turn off firewall completely (the pop-up goes away but this is not a viable option for normal use)
- add Arduino106 to firewall options and selectively block internet connections (no change)
- add Arduino106 to firewall options and selectively allow internet connections (no change)
- use self-signed certificate as described here (no change)
Finally what worked is this (there may be some extra steps in there but for now I'm satisfied):
- download and unzip (but don't run) Arduino 1.0.6
- add self-signed cert using the --deep option along with --force and --self
- move Arduino.app/src to Arduino.app/Contents/src based on this note which advises everything should be under the Contents/ directory
- start Arduino application (with Teensy Loader added) for the first time
Hope this helps. If you're about to try this, try moving src/ inside Contents/ first, I suspect that may be sufficient.
-Alex