Re: Add a framework
Re: Add a framework
- Subject: Re: Add a framework
- From: David Kennedy <email@hidden>
- Date: Tue, 15 Nov 2005 15:45:22 +0000
On 15 Nov 2005, at 15:16, Andrea Salomoni wrote:
I'm searching the way to add a framework bundle in my app.
I added to the target "myapp" a newbuildphase with a new copy files
build... but the framework is not copied inside the app directory.
How can I do?
ps: using xcode 2.2
This worked for me using Xcode 2.1:
(from my own notes)
1. Make sure the framework bundle ".framework" appears in "Groups &
Files "Frameworks > Linked Frameworks" group (if this is a third
party framework you can drag it here).
2. Create a new copy files build phase after the Copy Bundle
Resources build phase
3. Drag a copy of the framework to this new Build Phase
4. In the build phase inspector change the "Destination:" to
"Frameworks"
5. Remember to import the framework into your code with something like:
#import <ZNFramework/ZNFramework.h>
Hope this helps,
Dave
------
David Kennedy (http://www.zenopolis.com)
_______________________________________________
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