• 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: Copying header files into framework product
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying header files into framework product


  • Subject: Re: Copying header files into framework product
  • From: Nick Zitzmann <email@hidden>
  • Date: Sat, 18 Sep 2004 20:47:34 -0600


On Sep 18, 2004, at 8:22 PM, Rick Hoge wrote:

At the risk of sounding lazy, it seems like there ought to be some automated way to embed header files in a framework that would help adhere to the standard directory structure.

There is; it's just _really_ well hidden. To embed headers into a framework, click on the framework's target in the project window. In the table view on the right, you'll see a table column appear with pop-up menus in each header file's row. Choose "Project" to not copy the header file, "Public" to copy it into the framework's "Headers" directory, and "Private" to copy it into the framework's "PrivateHeaders" directory. The default is "Project".


Note that, if you intend on embedding this framework into an application, you will also have to strip the headers from the embedded framework. The only way to do this is through a shell script build phase in the project's target.

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

"Can we win [the war on terror]? I don't think you can win it." - George W. Bush (August 30, 2004)

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


References: 
 >Copying header files into framework product (From: Rick Hoge <email@hidden>)

  • Prev by Date: Copying header files into framework product
  • Next by Date: how do I invoke the target editor?
  • Previous by thread: Copying header files into framework product
  • Next by thread: how do I invoke the target editor?
  • Index(es):
    • Date
    • Thread