Modifying dyld behavior for framework
Modifying dyld behavior for framework
- Subject: Modifying dyld behavior for framework
- From: Stephan Burlot <email@hidden>
- Date: Mon, 09 Dec 2002 23:57:15 +0100
Hi,
I'm trying to link my app with a Framework and include this framework in my
app. (I dont have access to the source of this framework)
If I start my app and the Framework is NOT in the /Library/Frameworks
folder, my app crashes miserably with a dyld error.
otool -L gives a static path for the Framework, although the Framework is
copied in the app bundle.
Question 1: can I change the behavior of a framework, even if it has not
been compiled with the @executable_path=../Frameworks?
I've tried to change DYLD_FRAMEWORK_PATH and launch with the terminal with
no success.
Question 2: how can I detect at runtime if the framework is in
/Library/Frameworks or (~/Library/Frameworks) and display a meaningful
message before dying?
Any hints or doc pointers would be great!
Thanks,
Stephan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.