• 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: Embedding a framework...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedding a framework...


  • Subject: Re: Embedding a framework...
  • From: Peter Lau <email@hidden>
  • Date: Fri, 2 Sep 2005 16:52:16 -0400

On 2-Sep-05, at 4:26 PM, Chris Hanson wrote:

On Sep 2, 2005, at 10:49 AM, Jeff LaMarche wrote:

I'm embedding a framework into an application. The instructions on Apple's developer website say that the last step in embedding a framework is to add the framework as a dependency to the application target. However, when I try to do that, the "+" icon for adding dependencies is grayed out. Dragging the framework from the Groups & Files pane to the dependencies view doesn't work either.

What instructions are you referring to? It usually helps to include the URL.

I think it's here:

<http://developer.apple.com/documentation/MacOSX/Conceptual/ BPFrameworks/Tasks/CreatingFrameworks.html#//apple_ref/doc/uid/ 20002258-106880-BAJJBIEF>

It sounds like you're looking at instructions for embedding a framework that you're building. If it's a third-party framework rather than one you're building, you don't need to make your application target have a target dependency on it.

yes, the instructions is applicable when you decided to make part of your code as framework and place it in the /Frameworks folder inside the application bundle.


here's a question for this XCode newbie:

from what I understand, when I compiled my meant to be in /Framework inside application bundle framework, I need to use a magic string "@executable_path/../Frameworks" in the "Installation Directory" settings.

my question is, I can't really release one Mac OS X Mach-O framework and expect the loader to work either in ~/Library/Frameworks or MyApp.app/Contents/Frameworks/ automatically?

pete

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Embedding a framework...
      • From: Jeff LaMarche <email@hidden>
References: 
 >Embedding a framework... (From: Jeff LaMarche <email@hidden>)
 >Re: Embedding a framework... (From: Chris Hanson <email@hidden>)

  • Prev by Date: NSInputStream is being truncated
  • Next by Date: Preventing Opening a New Document When Clicking Active Program in Dock
  • Previous by thread: Re: Embedding a framework...
  • Next by thread: Re: Embedding a framework...
  • Index(es):
    • Date
    • Thread