How do I find the Apple UTI for QGIS?

Solution 1:

The UTI is listed within the application of QGIS in this case.

You can find the information by opening this file (change to accomodate if you have installed it in a different place or you have a different name for the app):

/Applications/QGIS.app/Contents/Info.plist

Search the file for UTTypeIdentifier and you'll find something looking somewhat like this (in this example for Microsoft Word):

<key>UTTypeIdentifier</key>
<string>com.microsoft.word.doc</string>

In this case the UTI is com.microsoft.word.doc.

Note that an application might have multiple UTTypeIdentifier entries. In that case, you need to look at the given description and filename extension (they're listed right alongside in the file) in order to choose the right one.

If you're not used to working with the Terminal and configuration files like this, you could use a GUI property list editor for viewing the plist file. Many different exist - for example PlistEdit Pro.