Re: Can't create an NSBundle
Re: Can't create an NSBundle
- Subject: Re: Can't create an NSBundle
- From: Hiro Fujimoto <email@hidden>
- Date: Sun, 14 Mar 2004 06:10:58 +0900
Rosyna,
Check your path with [[NSFilemanager defaultManager] fileExistsAtPath:
YourBundlePath].
Does it return YES?
---
On 2004/03/14, at 3:55, Rosyna wrote:
I need to load a category from an NSBundle in my plugin's path but for
some odd reason when I pass the path to NSBundle's -initWithPath: it
returns NULL. However, if I pass the same path (as a URL) to
CFBundleCreate it returns a valid bundle (but, AFAIK, won't load my
category which is why the bundle exists).
Any ideas why NSBundle won't love my bundle? Does it need some special
target settings in xcode? (legacy bundle)
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
------------------------------------------------------------------------
---------
hiro FUJIMOTO - developer in Japan.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.