• 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: Private frameworks in a bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Private frameworks in a bundle


  • Subject: Re: Private frameworks in a bundle
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 27 Nov 2008 10:54:43 +0100


Le 27 nov. 08 à 10:35, Luke Evans a écrit :

I've had a need, for the first time, to have a private framework in a bundle that gets loaded into an app.

Now, I've done a bit of framework wrangling in the past, and thought it might involve getting the installation path in the framework build/packaging right in order to do this.
When the usual @executable_path/../Frameworks didn't work (presumably because I'm in a bundle now, loaded from a location elsewhere in the files system than the app bundle), I read about @loader_path and assumed that an installation path of @loader_path/../Frameworks would do the job here. Indeed this causes the bundle to load properly, whereas before I was getting an error about finding the framework's executable image. However, when I first make a call to a framework things crash and burn.



Could you detail a little more "crash and burn" ? (crash log, message, anything usefull…)



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Private frameworks in a bundle (From: Luke Evans <email@hidden>)

  • Prev by Date: Private frameworks in a bundle
  • Next by Date: NSTextView
  • Previous by thread: Private frameworks in a bundle
  • Next by thread: NSTextView
  • Index(es):
    • Date
    • Thread