Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 1, Issue 210



Ah, true. I use the shell script because I build a framework with a separate XCode project for which I need to set headers public but then don't want to include them in deployment builds.

On Oct 30, 2004, at 5:26 PM, Milton Sagen wrote:

Or just go to the Target->Target Name->Bundle Resources and delete the .h files from this group. The .h files get added to this group and this is why they are copied to the applications bundle.

And according to Andreas Mayer this is a known bug and will be fixed in the future.

Date: Sat, 30 Oct 2004 03:32:36 -0500
From: Evan Schoenberg <email@hidden>
Subject: Re: Preventing Xcode to include header files
To: Jesus De Meyer <email@hidden>
Cc: cocoadev List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed

To remove them automatically, which is what I do, add a Shell Script
Build Phase to your application target (with Development Only checked
if you want) which has the shell script:

#!/bin/sh
find $BUILD_ROOT/$WRAPPER_NAME -name '*.h' -print0 | xargs -0 rm -rf

-Evan

On Oct 29, 2004, at 5:06 PM, Jesus De Meyer wrote:

Is there a way I can prevent Xcode from including the header files
inside the application bundle? I know I can just remove them, but this
can get very annoying.

PS: I know this should be in the Xcode list, but I don't want to
subscribe to that list just to ask this one question.

Thanks

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Cocoa-dev Digest, Vol 1, Issue 210 (From: Milton Sagen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.