• 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
bug in NSBundle when using QuickTime ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: bug in NSBundle when using QuickTime ?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Button() call not in 10.1
  • Next by Date: Re: bug in NSBundle when using QuickTime ?
  • Previous by thread: Re: Button() call not in 10.1
  • Next by thread: Re: bug in NSBundle when using QuickTime ?
  • Index(es):
    • Date
    • Thread