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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to