• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: project clone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: project clone


  • Subject: Re: project clone
  • From: Quincey Morris <email@hidden>
  • Date: Wed, 05 Oct 2011 11:06:29 -0700

On Oct 5, 2011, at 09:57 , Koen van der Drift wrote:

Is there a way to clone a project and save it under a different name,
without needing to go all over Xcode to make sure I didn't miss any
setting that needs to be changed?

Yes and no.

You can clone a project by simply duplicating the folder containing the .xcodeproj file. Resist the temptation to rename the project file manually, but open the project in the duplicate folder, and edit the name of the project in Xcode's navigator pane. (That's for Xcode 4. In Xcode 3, there's an explicit Rename Project… menu item to use instead.) That will bring up a dialog that offers to change a number of related project settings based on the name.

However, when you're done, you *still* have to "go all over Xcode" to make sure nothing got missed. Sometimes the rename process won't recognize that a setting needs changing because you earlier set it to something non-standard. A number of settings may need to be changed independently -- version number, icons, etc.

It's not clear, therefore, that you save much effort by using this approach.

If you really want to have several projects using the same settings, I think a better approach is to use build configuration (xcconfig) files. I don't use them myself, so I can't advise you on their use, but they seem like a better way to transfer settings between projects.


 _______________________________________________
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: 
 >project clone (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: Problem linking QuickLook plugin with app
  • Next by Date: Re: project clone
  • Previous by thread: project clone
  • Next by thread: Re: project clone
  • Index(es):
    • Date
    • Thread