Here is what I used in my Info.plist application to make it work:
<key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>SomeName</string> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>LSHandlerRank</key> <string>None</string> <key>LSItemContentTypes</key> <array> <string>public.mp3</string> </array> </dict> </array>
Check out Documentation to see what each key does.
CFBundleTypeName and CFBundleTypeRole .
LSItemContentTypes is an array of UTIs . To get a UTI file, simply enter it in Terminal:
mdls -name kMDItemContentType /path/to/file
Remember to configure CFBundleTypeRole and LSHandlerRank to meet your needs.
inket source share