• 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: Can't create an NSBundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Can't create an NSBundle
      • From: Rosyna <email@hidden>
References: 
 >Can't create an NSBundle (From: Rosyna <email@hidden>)

  • Prev by Date: Re: Leave NSLog()s in Final Product?
  • Next by Date: Re: Clicking Dock Icon creates a new window
  • Previous by thread: Can't create an NSBundle
  • Next by thread: Re: Can't create an NSBundle
  • Index(es):
    • Date
    • Thread