• 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: How to eliminate header files from builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to eliminate header files from builds


  • Subject: Re: How to eliminate header files from builds
  • From: Philippe Casgrain <email@hidden>
  • Date: Fri, 19 May 2006 16:43:18 -0400


Le 06-05-19 à 06:15, Ulf Dunkel a écrit :

I have a complex build with framework stuff in it and don't want to have all those copied header files in it before I give the build to others.

How can I eliminate these header files in the build process?

I'm assuming you are talking about the contents of the "Headers" folder in your .framework folder.


You need to decide, on a per-header basis, if it is a public or private header. There is a pop-up menu to toggle this behavior.

You should have as few public headers as you can; just the ones that your app needs to link.

If you don't want to ship any headers, simply build a dylib instead of a framework. Headers are there to satisfy the compiler/linker, not the application.

Philippe _______________________________________________
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: 
 >How to eliminate header files from builds (From: Ulf Dunkel <email@hidden>)

  • Prev by Date: Re: How to eliminate header files from builds
  • Next by Date: Re: dead-code stripping, pass two...
  • Previous by thread: Re: How to eliminate header files from builds
  • Next by thread: running scripts in clean phase
  • Index(es):
    • Date
    • Thread