Jay
Jay

Reputation: 6638

Copy groups between projects in Xcode4

A couple older questions (like this one) on this topic exist but I couldn't locate useful hints for Xcode 4 yet, so..

Is it possible to copy a group (with potentially hundreds of files from various folders on disk) from one project to another?

I.e. after painstakingly setting up all dependencies for a particular project can I just go ahead and copy that group (as in 'yellow folder') to a newly created project?

If it's possible in Xcode 4 it's at least not straight forward as

Any hints appreciated.

Upvotes: 2

Views: 2023

Answers (1)

Jay
Jay

Reputation: 6638

Ok, so here's the best workaround I've found:

  • Create a new Workspace
  • Add the projects where you want to copy groups from one to the other
  • Copy groups between projects!

That's it. You can either keep or get rid of the workspace afterwards as it doesn't directly affect the projects contained in it.

Bit clumsy but faster than other workarounds - at least until XCode 4.x adds support for direct copying between projects.

Upvotes: 7

Related Questions