Reputation: 1792
In a Cocoa Application for macOS, I save a bundle to disk using NSFileWrapper. The Bundle is correctly saved and recognised as a bundle (Show package contents appear) but I cannot get the finder display the Icon I provide for the bundle. Here are my settings for the imported/exported UTIs:
Unfortunately, the bundle appears always with a blank file icon:
As you can see, the Finder recognises the file kind, but does not display an image for it. Any help is greatly appreciated. Thanks
Upvotes: 0
Views: 153
Reputation: 3439
In the Exported UTIs section, try setting Conforms To to com.apple.package, public.archive
.
I'm no UTI expert, but that has always worked for my apps.
Upvotes: 1