Re: NSBundle path functions don't work after moving .app ?
Re: NSBundle path functions don't work after moving .app ?
- Subject: Re: NSBundle path functions don't work after moving .app ?
- From: "Angela Brett" <email@hidden>
- Date: Sat, 21 Jan 2006 01:48:11 +1300 (NZDT)
- Importance: Normal
> The various NSBundle pathForResource-type functions break if you move
the application while it's running - it seems to still be searching the
path that existed at startup...
This sounded familiar, so I searched the archives. You might find this
thread interesting:
http://www.cocoabuilder.com/archive/message/cocoa/2004/4/17/104495
There seems to be some disagreement over whether it's a bug or a feature
(though it seems most people call it a bug), but whatever it is, it's
known.
Somebody in that thread mentioned CFURLCreateFromFSRef() and 'fix' in the
same paragraph, but I don't know Carbon so I'm not sure if that can be
used as a workaround or it's completely unrelated. :)
Angela Brett
email@hidden
http://NSCoder.com
_______________________________________________
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