• 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: Steve Checkoway <email@hidden>
  • Date: Fri, 19 May 2006 13:31:48 -0700


On May 19, 2006, at 8:00 AM, Chris Espinosa wrote:

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.

My understanding was the OP wanted to remove files from copied frameworks. I don't see a way to do that as the headers aren't members of any target.


- Steve

_______________________________________________
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>)
 >Re: How to eliminate header files from builds (From: Steve Checkoway <email@hidden>)
 >Re: How to eliminate header files from builds (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: running scripts in clean phase
  • Next by Date: Re: How to eliminate header files from builds
  • 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