Re: problems with including a framework
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.