• 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: problems with including a framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with including a framework


  • Subject: Re: problems with including a framework
  • From: Koen van der Drift <email@hidden>
  • Date: Sat, 13 Mar 2004 09:20:30 -0500

On Mar 12, 2004, at 11:04 PM, Allan Odgaard wrote:

On 13. Mar 2004, at 4:31, Koen van der Drift wrote:

I am trying to add a framework to my app, using the menu-item Add Frameworks.

This is only for frameworks that you wish to link against.

It is a small (open source) framework that I want to include in the app, not have the user put it in ~/Library/Frameworks.



[...] I looked at the documents for XCode, but cannot find what setting I need to make sure that the framework is actually included in my app.

In the Groups & Files outline, unfold "Target" and then the actual target. Here you'll find four items (Headers, Bundle Resources, Sources, Frameworks & Libraries) -- you can control click any of these and select "Add -> New Build Phase -> Copy Files Build Phase", this brings up a window where you should select "Frameworks" as destination.

Now you have a new item in the previously mentioned outline view, simply drag your framework to that item.



Thanks, it works! I now have three foo.framework items in the Groups & Files outline, one in 'Other Frameworks', one in 'Frameworks & Libraries', and one in 'Copy Files'. Is this correct?

thanks,

- Koen.
_______________________________________________
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: 
 >problems with including a framework (From: Koen van der Drift <email@hidden>)
 >Re: problems with including a framework (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Packages that launch applications
  • Next by Date: How can I put an icon in NStabview button
  • Previous by thread: Re: problems with including a framework
  • Next by thread: Re: problems with including a framework
  • Index(es):
    • Date
    • Thread