• 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
Bundle Load Fails for Users with G3 Processors Only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bundle Load Fails for Users with G3 Processors Only


  • Subject: Bundle Load Fails for Users with G3 Processors Only
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 8 Sep 2008 15:05:14 -0700

My app works fine on an Intel Mac running 10.5, and on my old 800 MHz Powerbook G4 running 10.4.11. But after the latest update I received complaints from two users with G3 processors. Upon investigation, it turns out that the message

   -[NSBundle classNamed:]

logs an error [1] and returns nil instead of loading the bundle and returning the requested Class. If I didn't know better, I'd say this is an apparent case of insufficient hardware to load needed resources. But, duh, that's supposed to be impossible with virtual memory.

One user has an iBook with a 800 MHz G3 processor and 640 MB RAM. The other has a "Paris" Clamshell iBook with a 466 MHz G3 and RAM maxxed out at 512 MB. She says it's "the oldest iBook that can run OS X".

Now, the user with the 800 MHz iBook has been using my app for over two years. Also, I myself have run previous versions of my app on my old 500 MHz G3 iBook with 320 MB RAM, 10.4.?, and it worked. (But I have since downgraded that puppy to 10.3.9, and my app does not try to load the problem bundle under 10.3.9.)

It looks like something got changed in the latest build that G3 processors don't like. Any ideas what that might be?

Jerry

[1] The error is:

*** -[NSBundle load]:
Error loading code /Applications/MyApp.app/Contents/Resources/ BmTiger.bundle/Contents/MacOS/BmTiger
for bundle /Applications/MyApp.app/Contents/Resources/BmTiger.bundle,
error code 4
(link edit error code 4,
error number 0 (
Library not loaded:
@executable_path/../Frameworks/SSSQLiter.framework/ Versions/A/SSSQLiter


which says that the SSSQLiter framework will not load, but I checked and it ^is^ at the promised path, and ^is^ a universal binary, and of course this all works fine on my Powerbook G4. MyApp's package structure:

MyApp
    Contents
        MacOS
            MyApp
        Resources
            BmTiger.bundle
                Contents
                    MacOS
                        BmTiger (universal binary)
            ...
        Frameworks
            SSSQLiter.framework
                Versions
                    A
                        SSSQLiter (universal binary)
            ...

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Bundle Load Fails for Users with G3 Processors Only
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: text view example
  • Next by Date: Re: Bundle Load Fails for Users with G3 Processors Only
  • Previous by thread: Re: NSCharacterSet :+ (id)newlineCharacterSet
  • Next by thread: Re: Bundle Load Fails for Users with G3 Processors Only
  • Index(es):
    • Date
    • Thread