location of frameworks at runtime
location of frameworks at runtime
- Subject: location of frameworks at runtime
- From: Olof Hellman <email@hidden>
- Date: Sat, 6 Dec 2003 03:34:39 -0800
I'm trying to understand how a framework gets loaded at runtime.
Specifically, I have a two piece project which consists of a framework
and an application, both built in XCode.
If I put the framework inside the application bundle in the Frameworks
directory at .../myApp.app/Contents/Frameworks/ the app won't launch
-- I get a ' can't open library:
/Library/Frameworks/myApp.framework/Versions/A/myApp ' message in the
console
If I put the framework in /Library/Frameworks/ , then the app launches
fine.
Even more curiously, XCode is happy to debug the application without
the framework in either location -- as long as XCode knows the path to
the framework it is using.
So the question is, what do I need to do to get a Framework in
.../myApp.app/Contents/Frameworks/ to load at runtime? I am under the
impression that this is the appropriate folder for application-specific
support libraries to go.
- Olof
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.