Re: Stripping headers from embedded frameworks
Re: Stripping headers from embedded frameworks
- Subject: Re: Stripping headers from embedded frameworks
- From: Andrew Duncan <email@hidden>
- Date: Wed, 21 May 2003 03:34:11 +1200
At 12:00 AM +1000 21/05/2003, Pete Yandell wrote:
>
On Tuesday, May 20, 2003, at 12:07 PM, Andrew Duncan wrote:
>
>
> I have a PB project which uses a set of 6 embedded frameworks....
>
>
>
> The final built application includes all the headers...
>
>
> I'm left wondering if there's a way to have them stripped out at the
>
> end of
>
> the build process, or to prevent them from being copied in in the first
>
> place.
>
>
I add a shell script build phase to my projects and do the following:
>
>
cd "${BUILD_DIR}/${PRODUCT_NAME}.${WRAPPER_EXTENSION}"
>
>
# This cleans out any headers that were copied to our binary
>
find . -name Headers -type d -exec rm -r {} \;
>
find . -name Headers -exec rm {} \;
>
Ah, I suspected that would be the answer, thanks for confirming it. It's
what I did manually (once only!) to reduce the size of the app bundle.
Many thanks,
--
Andrew Duncan
----------------------------------------------------------------------
voice: +64 9 623 2926
mobile: 021 297 3174
web:
http://web.webwerks.co.nz/
----------------------------------------------------------------------
Programmers do it while (1)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.