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 (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 [EMAIL PROTECTED]

Reply via email to