Stop OSX Photos.app opening every time you plug your (Android or IOS) device into your Mac

This has been driving me mad for ages, every time I plugged a test device in to debug a Cordova app.  I eventually found this solution on SE for El Capitan:

defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES

Problem solved!

Leave a Reply