Re: bug in NSBundle when using QuickTime ?
Re: bug in NSBundle when using QuickTime ?
- Subject: Re: bug in NSBundle when using QuickTime ?
- From: Douglas Davidson <email@hidden>
- Date: Fri, 21 Sep 2001 08:34:21 -0700
On Friday, September 21, 2001, at 08:09 AM, Raphael Sebbe wrote:
I just found out I could not load NIBs from a framework on which my app
depends after having used QuickTime to encode some video. The problem
seems to be in NSBundle or the underlying library loading stuff,
because whenever I ask for the bundle corresponding to a given class,
it is messed up :
before using QuickTime encoding:
[NSBundle bundleForClass:[NSArray class]] -> Foundation.framework
[NSBundle bundleForClass:[NSView class]] -> AppKit.framework
[NSBundle bundleForClass:[MyClass class]] -> MyFramework.framework
after using QuickTime
[NSBundle bundleForClass:[NSArray class]] -> Carbon.framework
[NSBundle bundleForClass:[NSView class]] -> Foundation.framework
[NSBundle bundleForClass:[MyClass class]] -> /usr/lib
And as already said, this prevents my app from running correctly since
all the nibs in frameworks have not been loaded yet (that's why we use
them, right ?).
I believe it somehow related to QuickTime loading its components... Is
this a known bug, are there any workarounds ?
No, this problem is not known, at least not in this form. Do you have a
test case, or some way that we can reproduce this?
Douglas Davidson