Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: odd universal binary behavior with resources



Do you have CSResourcesFileMapped set to true in your Info.plist? It's
death to legacy code that makes assumptions about traditional resource
manager resources. For example, I've seen crashes in PowerPlant where it
assumes that handles returned by the resource manager are writable.

Try setting CSResourcesFileMapped to false.

Best,
--
Allen Cronce

Kaveh Kardan wrote:
I'm developing a bundle which uses resource files. Everything works fine when compiling in development (PPC) mode, but when compiling a universal binary, the bundle crashes while trying to read the resource file.

The crash is deep down, inside CFStringGetLength().

Has anyone encountered such behavior, or has a suggestion as to what could be causing this?

Regards,

Kaveh

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden



This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >odd universal binary behavior with resources (From: Kaveh Kardan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.