Post not yet marked as solved
Post marked as unsolved with 8 replies, 2,484 views
I am trying to make my document icons show up when for example attaching in Mail app. This is the Info.plist which I have:<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>poz</string>
</array>
<key>CFBundleTypeIconFiles</key>
<array>
<string>icon_320x320.png</string>
<string>icon_64x64.png</string>
<string>icon_22x29.png</string>
<string>icon_44x58.png</string>
<array/>
<key>CFBundleTypeName</key>
<string>POZ Doc</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.company.app.poz</string>
</array>
<key>LSTypeIsPackage</key>
<true/>
<key>NSDocumentClass</key>
<string>App.POZDocument</string>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.composite-content</string>
<string>com.apple.package</string>
</array>
<key>UTTypeDescription</key>
<string>POZ Doc</string>
<key>UTTypeIconFiles</key>
<array>
<string>icon_320x320.png</string>
<string>icon_64x64.png</string>
<string>icon_22x29.png</string>
<string>icon_44x58.png</string>
<array/>
<key>UTTypeIdentifier</key>
<string>com.company.app.poz</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>poz</string>
</array>
</dict>
</dict>
</array> The exporting and importing all works fine. However, the icon is just not showing up in the attachment. The icon sizes seem to be correct as per Apple documentation.What am I missing? Do I have to add something to my App.POZDocument?