And indeed, your plist is broken. CFBundleDisplayName should be a string not
an array. It seems that what is "CFBundleDisplayName" should be
"CFBundleDocumentTypes".

-- 
Julien

On Mon, Dec 14, 2009 at 3:29 PM, Joe The Programmer <
joetheappleprogram...@gmail.com> wrote:

>
> On Dec 14, 2009, at 4:28 AM, Julien Jalon wrote:
>
> > It's not necessarily a memory management problem. As this happens very
> early in the application launch, when Launch Services uses your Info.plist
> to register the application, your problem might also be that an entry
> supposed to be a string is in fact an array.
>
> Yes, that's why I was thinking resource.  As far as I can remember, I
> didn't touch the plist file going from Xcode 2.5 to 3.2.1.  However, I
> noticed a new key, CFBundleDisplayName, in my 3.2.1 info.plist file.  I'm
> not too familiar with the make up of a plist file.  Did the format of the
> info.plist change between versions?   Regardless, there seems to be an
> erroneous <false/> in there.  Perhaps something got mangled along the way
> from 2.5 to 3.2.1?  I need to bone up on info.plist.  Thanks.
>
>        <key>CFBundleDisplayName</key>
>        <array>
>                <dict>
>                        <key>CFBundleTypeExtensions</key>
>                        <array>
>                                <string>tsk</string>
>                                <string>TSK</string>
>                        </array>
>                        <key>CFBundleTypeIconFile</key>
>                        <string>tsk.icns</string>
>                        <key>CFBundleTypeMIMETypes</key>
>                        <array>
>                                <string>application/tsk</string>
>                        </array>
>                        <key>CFBundleTypeName</key>
>                        <string>TSK Document</string>
>                        <key>CFBundleTypeOSTypes</key>
>                        <array>
>                                <string>tsk </string>
>                                <string>TSK </string>
>                        </array>
>                        <key>CFBundleTypeRole</key>
>                        <string>Viewer</string>
>                        <key>LSTypeIsPackage</key>
>                        <false/>
>                        <key>NSPersistentStoreTypeKey</key>
>                        <string>JSON</string>
>                </dict>
>        </array>
>
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to