Mac File association not working. Why or how to debug?
I have the following Info.plist which I am attempting to associate .mybin files with the applcation. However after installing the .mybin files do not have the icon, the description or the association (when viewing with Get Info). I’m completely new to OSX development and I inherited the packaging of the application so I have no idea how to debug problems. The app is packaged to a .app using productbuild if that makes any difference.
I have compared my info.plist against several other applications and the only difference I can see is many include deprecated keys such as CFBundleTypeExtensions. Since I only need to support 10.6 and greater I don’t believe I need this and LSItemContentTypes should be enough. From what I understand the ‘com.me.myapp.mybin’ of LSItemContentTypes is the link to the exported UTI of the same name.
I have tried manually associating the .mybin file with the application, but that fails when I double-click saying the app does not handle that type of file.
Can anyone tell we what is wrong with this info.plist or what to do investigate?
Thanks.
__
    CFBundleIconFile
    MyApp.icns
    CFBundlePackageType
    APPL
    CFBundleGetInfoString
    My Application version 1.0, Copyright © 2013.
    CFBundleSignature
    ????
    CFBundleExecutable
    My Application
    CFBundleName
    My Application
    LSMinimumSystemVersion
    10.6
    CFBundleIdentifier
    com.me.myapp
    CFBundleDisplayName
    My Application
    CFBundleVersion
    1.0.0
    CFBundleShortVersionString
    1.0.0
    LSMultipleInstancesProhibited
CFBundleDocumentTypes
            CFBundleTypeIconFile
            MyApp
            CFBundleTypeName
            My Application binary
            CFBundleTypeRole
            Viewer
            LSItemContentTypes
com.me.myapp.mybin
            LSHandlerRank
            Owner
    UTExportedTypeDeclarations
            UTTypeConformsTo
public.data
            UTTypeDescription
            My Application binary
            UTTypeIconFile
            MyApp.icns
            UTTypeIdentifier
            com.me.myapp.mybin
            UTTypeTagSpecification
                public.filename-extension
                mybin
                public.mime-type
                application/vnd.me-app.binary
__


