Re: Removing Sparkle headers from build
Re: Removing Sparkle headers from build
- Subject: Re: Removing Sparkle headers from build
- From: Christiaan Hofman <email@hidden>
- Date: Wed, 06 Apr 2011 11:23:18 +0200
On Apr 6, 2011, at 11:16, Citizen wrote:
> I'm using Sparkle. Currently the framework is is copied into my application bundle in a "Copy Frameworks" build phase.
>
> Is there a standard way to Copy such a precompiled framework without the header files being included?
>
> Is it a case of creating a script build phase to remove the frameworks header folders and alias links, after the framework has been copied? Is this likely to cause any side effects? Is there a better approach? or is it just better to ignore them and just leave them there? (It just seems messy if there is a simple solution).
>
> Thanks,
> Dave
> ------
> David Kennedy (http://www.zenopolis.com)
>
AFAIK the only way is to do it yourself in a script phase. What I use myself is
find "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" -type file -name "*.h" -delete
find "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" \( -type d -or -type l \) -name Headers -delete
Christiaan
_______________________________________________
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