Quarantined Apps on Mac OS X

We have discovered that apps with the extended file attribute "com.apple.quarantine" can cause undesired behavior if side-loaded to a device--the apps may disappear or become unavailable. This issue has not been observed from any apps loaded through Garmin Express as a customer would load an app, but it may still cause trouble for developers. This attribute is applied automatically on Mac OS X depending on your Mac's security settings. You can check this file attribute in the Terminal with the following command:

[FONT=Courier New]xattr AppName.PRG[/FONT]

If the result prints [FONT=Courier New]com.apple.quarantine[/FONT], you can remove the quarantine with:

[FONT=Courier New]xattr -d com.apple.quarantine AppName.PRG[/FONT]

Another option is to disable quarantining altogether. The system's quarantine feature is a good security measure, and Garmin does not generally recommend this option, but if you are confident in the files you download and run on your system then you may choose to use this approach. To do this, run the following command in the Terminal, then reboot the system:

[FONT=Courier New]defaults write com.apple.LaunchServices LSQuarantine -bool NO[/FONT]

This command will use the defaults system (the preferences editor) to target the Launch Services preferences and change its setting for "LSQuarantine" to a false or "off" value, so the service will no longer flag new files with the quarantine attribute. This will not affect any files previously flagged as quarantined, so those would need to be handled on a case-by-case basis.