Re: How to eliminate header files from builds
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