Re: Frameworks in Bundles
Re: Frameworks in Bundles
- Subject: Re: Frameworks in Bundles
- From: Marcel Weiher <email@hidden>
- Date: Fri, 29 Mar 2002 22:59:51 +0100
On Friday, March 29, 2002, at 06:13 PM, Rosyna wrote:
I have a few frameworks in NSBundles. When I try to load these
bundles I get a message in the console:
-[NSBundle load]: Error loading code
/Volumes/Apostasy/rosyna/Dev/MyAppHost/build/MyApp.bundle/Contents/MacOS/
MyApp
for bundle /Volumes/Apostasy/rosyna/Dev/MyAppHost/build/MyApp.bundle,
error code 0 (link edit error code 0, error number 2 (dyld:
/Volumes/Apostasy/rosyna/Dev/MyAppHost/build/MyAppHost/Contents/MacOS/MyAppHost
can't open library:
@executable_path/../Frameworks/MyAdditions.framework/Versions/A/MyAdditions
(No such file or directory, errno = 2)
))
Can a bundle even load it's own framework?
Apparently, this is currently not possible, a pretty glaring hole.
You could try to load those frameworks dynamically as well, or put them
in some fixed location.
I hope this gets fixed soon, because it sure is a pain.
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
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.