• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem with Info.plist in 10.5 [RESOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Info.plist in 10.5 [RESOLVED]


  • Subject: Re: Problem with Info.plist in 10.5 [RESOLVED]
  • From: Frédéric Testuz <email@hidden>
  • Date: Mon, 1 Sep 2008 21:12:10 +0200

Le 27 août 08 à 21:14, Frédéric Testuz a écrit :

Hi,

I'm writing a Leopard-target application. Therefore I'm willing to use UTI and the new-style for the Info.plist. I red the AppKit release notes and I thought I didn't forget something. But when I'm calling the save panel I get this error message on the console:

2008-08-27 14:12:52.522 MyApp[23412:813] An NSDocumentController returned nil when sent -displayNameForType:@"ch.ftestuz.MyApp.rgbd". See the info about new support for UTIs in the Leopard AppKit release notes.
2008-08-27 14:12:52.523 MyApp[23412:813] An NSDocumentController returned nil when sent - displayNameForType:@"ch.ftestuz.MyApp.rgbdx". See the info about new support for UTIs in the Leopard AppKit release notes.

I resolved the problem. I'm not exactly sure about what cause the resolution. I took the Info.plist of the Sketch exemple, changed it's data with mine. Rebuild and launched the app. At this time, the problem was not resolved.


Then I deleted all the keys which are obsolete in 10.5, rebuild and launched the app. And the problem was resolved.

I don't know if the Info.plist parser is too sensible with mix of 10.4 and 10.5 infos. It can also be that the new infos was not immediately take into account by the system (LaunchService I think?).

Frédéric_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: NSArray as a static
  • Next by Date: Re: NSArray as a static
  • Previous by thread: Re: NSArray as a static
  • Next by thread: Objective-C and AppleScript
  • Index(es):
    • Date
    • Thread