Mailing Lists: Apple Mailing Lists

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

Ooops, no framework... BANG!



My app would like to make use of a framework that may - or may not - be there at runtime. Right now, if I launch the app and the framework is not there, the app quits with a '(No such file or directory, errno = 2)' error message.

Reading the ADC Reflib materials on linking, I added '-nofixprebinding' to the Linker Options - which lets the project build - but upon execution, the error still occurs - even though I do not actually call any function in the framework.

Q: What is the suggested method for dealing with a lib that may or may not be there?

Q: Should I be using a different construct other than a framework?

Thanks,

Lance Drake

_______________________________________________
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


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.