On Jul 17, 2006, at 7:59 AM, Paul Miller wrote:
I'm running Xcode 2.3 and am managing a project of many targets. I have lots of shared code that is used in several targets, but not all of the targets. There is no convenient way to group-select many source files and turn on/off the "in-target" flag for them. In the source list, it only allows changing the flag one file at a time.
If I select the files and do "Get Info", then check on/off the targets the code is present in, it doesn't actually "stick" in the "Compile Source Files" phase of the appropriate targets. If you close/open the project, the files are still in the targets they were in previously.
This works for us and we don't have other reports of it. (There are reports that if you change the target membership of files already in a target, it gets added twice, but that's different).
Try opening the target that you want to remove the files from, open its Compile Sources build phase, select the files to remove, and press Delete. This deletes the files from that target but leaves them unaffected in other targets and in the project.
The way to get things fixed in the next update is to file a bug at bugreporter.apple.com.