Objective c Mail.app中的应用程序文件类型关联图标

Objective c Mail.app中的应用程序文件类型关联图标,objective-c,xcode,macos,email,icons,Objective C,Xcode,Macos,Email,Icons,我正在编写一个OSX应用程序来打开文件。我已使用info.plist注册了我的文件类型,如下所示: <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>My File Type</string> <key>LSHandl

我正在编写一个OSX应用程序来打开文件。我已使用info.plist注册了我的文件类型,如下所示:

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>My File Type</string>
        <key>LSHandlerRank</key>
        <string>Owner</string>
        <key>CFBundleTypeExtensions</key>
        <array>
            <string>trip</string>
        </array>
        <key>CFBundleTypeRole</key>
        <string>Viewer</string>
        <key>CFBundleTypeIconFile</key>
        <string>filetype.icns</string>
    </dict>
</array>
CbundleDocumentTypes
CbundleTypeName
我的文件类型
伊斯汉德兰克
物主
CbundleTypeExtensions
旅行
CbundleTypeRole
观众
CbundleTypeConfigile
filetype.icns
在finder中,我看到关联文件类型的图标,双击该文件将调用我的应用程序

当我在Mail.app中收到一个.trip文件时,附件的图标就是普通图标。双击该文件可正确打开我的应用程序。我的icns文件包含所有大小,并且是使用Icon Composer创建的

有没有办法指定Mail.app图标?你喜欢什么?我错过什么了吗?或者是否有其他方式指定该图标

谢谢