How to generate xcode project through terminal?

Xcode: How can I safely change the location of a project which has a local Git repository?

  • The project is currently in my Dropbox folder. I'd like to move it, but I don't want to confuse Xcode's Organizer or Git. What's the best practice for this sort of thing?

  • Answer:

    I believe you just move the project directory. Git stores all of it's data in the `.git` directory and other dot files in the repository's root directory so it won't care if the repository moves. All of Xcode's project and file references should also be independent of the project's root directory location. Build products are identified by project/target name and maybe app id. File references should be relative to their group's directory or the project's root directory unless you explicitly set absolute paths in a file's settings for some reason.

Jonah Williams at Quora Visit the source

Was this solution helpful to you?

Other answers

This might be the answer, at least with respect to Git itself. Still not sure about Xcode/Organizer: http://stackoverflow.com/questions/7949036/moving-a-git-repository

James Martin

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.