Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Finding Files Buried in Groups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding Files Buried in Groups



Hello Nick,

I'll answer the questions I know (or think I know):

On 29 dec 2005, at 16.58, Nick Nallick wrote:

I've succeeded in compiling my project but I'm failing to link with a bunch of duplicate definition errors. Apparently I dragged a source file into the project twice into different groups (why is this even possible?).

The group tree is a virtual grouping of files, it doesn't have to give any indication of how the files are structured on disk, or how / if they are included in targets to be compiled.


Unfortunately I can't find the incorrect copy of it. How do I locate a file in an unknown group without manually opening every group?

If you know the symbol, you should be able to figure out which file it is in. When you have the file, open the inspector and check which targets it belongs to. More than one?


Also, I can't find anything equivalent to CW's "Link Order" list. How do I control the order files are linked in?

Check the individual build phases for the target in question. The "Compile Sources" build phase lists the files to be compiled. Files are linked in the order they are compiled. You can re-order files within a build phase.


Is there any way to get a flat list of all the files in a project?

If you select the project icon in the project window and open the "Detail" tab, you'll see all the files in one long list.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Finding Files Buried in Groups (From: Nick Nallick <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.