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: stop new header from being added to copy files?




On Aug 2, 2006, at 2:52 AM, Stephane Sudre wrote:

Every time I add a new C++ source and header to my project, the header gets added to one of the copy files build phases.  This is an application project, not a framework, so I don't want any headers to be copied.  Is there any way to stop this from happening?


Don't forget to file a bug report in BugReporter.


While I haven't seen this bug since XCode 2.2, support for headers is still a bit inconsistent in XCode:


Sometimes there's a target member checkbox in the Files & Groups column, sometimes there's none, it depends on the project, whether it's a brand new project or a updated project.


I think he's talking about the case when you create a New File in Project from the File menu. You get one checkbox that controls whether the header is automatically added, and a list of checkboxes that control the target to add the file(s) to.  Unfortunately, in the case of an app, you don't get the choice to add the source file to the target but not the header.  This is a problem for some target types (like apps) but not others (like frameworks).  It is worth filing a bug, though.

Chris

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

This email sent to email@hidden

References: 
 >stop new header from being added to copy files? (From: "James W. Walker" <email@hidden>)
 >Re: stop new header from being added to copy files? (From: Stephane Sudre <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.