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

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
References: 
 >Add a framework (From: Andrea Salomoni <email@hidden>)

  • Prev by Date: Re: [CoreData] Undo of insert - how to close the removed object's window?
  • Next by Date: Re: Dynamic columns in NSTableView
  • Previous by thread: Re: Add a framework
  • Next by thread: Core Data inverse relationships
  • Index(es):
    • Date
    • Thread