• 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: NSBundle dynamic loading problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSBundle dynamic loading problem


  • Subject: RE: NSBundle dynamic loading problem
  • From: "Josh Ferguson" <email@hidden>
  • Date: Mon, 19 Dec 2005 15:45:08 -0600
  • Thread-topic: NSBundle dynamic loading problem

The bundle identifier is changed as well to mirror the different class
name. Here's a definitive list of things I've changed to try and get
this to work:

1.) Bundle location (system caches bundles loaded from a specific
directory
2.) Bundle name (i.e. <name>.framework)
3.) Bundle identifier (is now com.mycompany.classname<version>)
4.) Class name (is classname<version>)
5.) Principal Class (matches classname)
6.) Bundle version

It still fails to load the new class even though the -load call
indicates a success. Printing out to the console before and after
calling -load indicate that it's not loaded until -load is called.

Josh

-----Original Message-----
From: Shawn Erickson [mailto:email@hidden]
Sent: Monday, December 19, 2005 3:15 PM
To: Josh Ferguson
Cc: Uli Kusterer; email@hidden
Subject: Re: NSBundle dynamic loading problem

On 12/19/05, Josh Ferguson <email@hidden> wrote:

> There's something else that
> the OS is caching to identify that bundle and I can't figure out what
it
> is.

Bundle identifier? Likely that is the main identifier the system uses,
not file name, etc.

-Shawn
_______________________________________________
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

  • Prev by Date: RE: NSBundle dynamic loading problem
  • Next by Date: Re: Adding password for a file to keychain
  • Previous by thread: RE: NSBundle dynamic loading problem
  • Next by thread: [CORE DATA] BackgroundFetching app explanation, and more...
  • Index(es):
    • Date
    • Thread