bug in NSBundle when using QuickTime ?
bug in NSBundle when using QuickTime ?
- Subject: bug in NSBundle when using QuickTime ?
- From: Raphael Sebbe <email@hidden>
- Date: Fri, 21 Sep 2001 17:09:42 +0200
Hi all,
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 ?
Raphael