Re: Re: Error with [pluginBundle infoDictionary]
Re: Re: Error with [pluginBundle infoDictionary]
- Subject: Re: Re: Error with [pluginBundle infoDictionary]
- From: "Corey O'Connor" <email@hidden>
- Date: Mon, 16 Oct 2006 18:44:33 -0700
On 10/16/06, Trygve Inda <email@hidden> wrote:
It looks like I have to use NSFileManager for the directory contents and
then manually determine the extension name... pathsForResourcesOfType does
something to mess this all up.
Trygve
I tried switching to using NSFileManager but the infoDictionary for
any found bundle is still missing all of the attributes in the
Info.plist. The entire dictionary is something like:
NSBundleResolvedPath = /Users/coconnor/Development/Pie
Menus/build/Debug/Needs More
Switches.app/Contents/Resources/Themes/Horizontal.nmstheme;
NSBundleResourcePath = /Users/coconnor/Development/Pie
Menus/build/Debug/Needs More
Switches.app/Contents/Resources/Themes/Horizontal.nmstheme/Resources;
NSBundleLanguagesList = <NSCFArray 0x35c610>(
)
;
NSBundleInitialPath = /Users/coconnor/Development/Pie
Menus/build/Debug/Needs More
Switches.app/Contents/Resources/Themes/Horizontal.nmstheme;
}
Which does not contain the 5 other properties that are in the
Info.plist. Does anybody know another reason NSBundle's infoDictionary
method would not return the actual Info.plist? Should I assume it's
broken and just manually load the Info.plist file?
-Corey
--
-Corey O'Connor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden