• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Frameworks in Bundles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Frameworks in Bundles (From: Rosyna <email@hidden>)

  • Prev by Date: Re: App dying under MallocDebug and ObjectAlloc
  • Next by Date: Re: NSView subclass never gets dealloced?
  • Previous by thread: Frameworks in Bundles
  • Next by thread: Re: Frameworks in Bundles
  • Index(es):
    • Date
    • Thread