Hi everyone,
I’m not exactly sure this is the right list to ask,
but since it’s more about distribution than anything else, I thought I’d
ask here,
I’ve been tolling on this for quite a few days now and
still couldn’t manage it.
What we’re trying to do is association 3 filetypes
with our application, each with their own icon.
From what I gathered, this should be handled by the
info.plist contained in the .app, but so far all attempt have failed and
all we get is the “standard” unix exec icon.
Here’s the info.plist content, any help would be
greatly appreciated as at this point the project is going critical because of
this.
[BEGIN]
<?xml version="1.0"
encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST
1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtentions</key>
<array>
<string>asn</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>asn.icns</string>
<key>CFBundleTypeName</key>
<string>Assignment
Document</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeExtentions</key>
<array>
<string>opt</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>opt.icns</string>
<key>CFBundleTypeName</key>
<string>OutLine
Template</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
<dict>
<key>CFBundleTypeOSTypes</key>
<array>
<string>????</string>
</array>
<key>CFBundleTypeExtentions</key>
<array>
<string>djs</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>djs.icns</string>
<key>CFBundleTypeName</key>
<string>Student
Working Document</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSIsAppleDefaultForType</key>
<true/>
</dict>
</array>
<key>CFBundleExecutable</key>
<string>ROL</string>
<key>CFBundleGetInfoString</key>
<string>Created
by Qt/QMake</string>
<key>CFBundleIconFile</key>
<string>readol.icns</string>
<key>CFBundleIdentifier</key>
<string>com.dji.rol11</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
</dict>
</plist>
[END]
I tried adding the CFBundleTypeOSTypes just in case, but
didn’t make any difference.
Thanks in advance,
Francois C.