Xcode Save As

If I open a project and make some changes, is there a procedure where I can "Save As" the whole project? The option is not enabled in Xcode if I highlight the project file. Thank you.

iMac, Mac OS X (10.6.1), Xcode 3.2

Posted on Sep 18, 2009 11:28 PM

Reply
3 replies

Sep 19, 2009 1:56 AM in response to kiheiTom

If your purpose is to rename the project itself, so it produces an executable with a different name and Bundle ID, etc., that's not supported by Xcode. Here's a procedure that will work: [http://discussions.apple.com/thread.jspa?messageID=8616624&#8616624]. That procedure covers the case where your current project has already been placed in the Store. If that's not the case, you won't need all those steps.

If your purpose is versioning, take a look at
Using Subversion with Xcode 3 on Mac OS X Leopard
.

If you just want to save the previous state of your project as a backup or informal version archive, use Finder to make a copy of the +project folder+ before starting Xcode and/or making any changes. E.g. if your project is in /Users/Tom/MyProject, duplicate the entire folder and name it /Users/Tom/MyProject1 before you make any changes with Xcode.

In no case should you ever rename the .xcodeproj file, except as part of a total renaming procedure like the one at the above link. Also never use Finder to rename one of the files which has been added to an Xcode project. To rename one of these tracked files, select the file in the Xcode Groups & Files tree panel, click the Info icon in the tool bar, and edit the Name: field under the General tab.

Hope that helps!
\- Ray

Sep 18, 2009 11:43 PM in response to kiheiTom

I'm not sure if there's a way to Save As the entire project as you asked, but I can tell you that I don't think it's really necessary. Every part of the project that you would bring up (such as the main.c file for example in a Standard Tool project) will ask you if you want to save changes before you close out of it. And if you close out of the entire project as a whole, any individual part of it that hasn't had its changes saved yet will prompt you to do so, so you don't have to worry about losing anything or anything like that.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode Save As

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.