Re: I want a spreadsheet of Target Memberships
Re: I want a spreadsheet of Target Memberships
- Subject: Re: I want a spreadsheet of Target Memberships
- From: Jens Alfke <email@hidden>
- Date: Sun, 04 Nov 2012 21:42:24 -0800
On Nov 4, 2012, at 8:44 PM, Jerry Krinock < email@hidden> wrote:
I've got a big project with hundreds of files. I want to duplicate and modify some targets.
You can duplicate a target by right-clicking it and choosing “Duplicate” (or select it and press Cmd-D.) Is there any table-style user interface for setting, or at least viewing, Target Membership of source files? How about a list of all of the source files that are members of Target A?
Go to the view of target A, choose the “Build Phases” tab, and open the “Compile Sources” list. In that list you can select files and choose Copy, which will write their paths to the clipboard.
It probably wouldn’t be _too_ hard to write a tool that would parse a project file and extract this info and write out as CSV or something; but I’m not aware of any. Going the other direction, there are tools like GYP that let you define a project using a textual file and will then process that and spit out an Xcode project (or a Visual Studio or Eclipse project or whatever.) The idea is you check in the .gyp files and the IDE projects are rebuilt after checkout as part of the build script. (Chrome is built this way.)
—Jens |
_______________________________________________
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