• 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: Chris Espinosa <email@hidden>
  • Date: Fri, 19 May 2006 08:00:23 -0700

On May 19, 2006, at 3:58 AM, Steve Checkoway wrote:

On May 19, 2006, at 3:15 AM, Ulf Dunkel wrote:

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?
Is there a way of writing a script which removes all Headers folders in a build app?


Any example or hint is welcome. :-)

find 'My Great App.app' -name Headers -print0|xargs -0 rm -rf

I'm presuming the OP doesn't want Xcode copying the headers in the first place.


Either:
a) Remove the headers from the target (headers don't need to be members of the target in order for the compiler to find them at #include time);
b) remove them from the Copy Header Files build phase (which will remove them from the target; or
c) select the Copy Header FIles build phase and in the Detail view mark all the headers Private.


Chris
_______________________________________________
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


  • Follow-Ups:
    • Re: How to eliminate header files from builds
      • From: Steve Checkoway <email@hidden>
References: 
 >How to eliminate header files from builds (From: Ulf Dunkel <email@hidden>)
 >Re: How to eliminate header files from builds (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: .a under version control
  • Next by Date: Re: dead-code stripping, pass two...
  • Previous by thread: Re: How to eliminate header files from builds
  • Next by thread: Re: How to eliminate header files from builds
  • Index(es):
    • Date
    • Thread