Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7703119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:23:08+00:00 2026-05-31T23:23:08+00:00

The situation is, I forgot to choose use source control in Xcode when creating

  • 0

The situation is, I forgot to choose “use source control” in Xcode when creating my project. Then I found I can’t update anything without source control selected, but also can’t find where can add SCM to the project I’ve already created. Re-create a new project is a stupid idea, so if anyone met the same issue before PLZ gimme a hand 🙂

Update 1:

I tried command line to set up git repository and it succeeded. But just add git to project is not enough, you have to add it to the oragnizer as a repository so Xcode can find where to check out or update your code. Then I encountered another issue:

In Xcode 4 user guide it says:

By abstracting common repository operations, Xcode supports both Git and Subversion (SVN) repositories with a single, unified graphical user interface and workflow. Depending on your choice, this one operation checks out (for SVN) or clones (for Git) the repository and integrates it with your project.

Cloning a Git repository in Xcode sets up a complete repository on your local system and integrates that repository with your workspace so that you can quickly start using it. This approach gives you the benefits of distributed version control, including full commit rights, whether you’re online or not.

It also provides several steps:

In the repositories organizer, click the Add button and choose Checkout or Clone Repository.

Enter the pathname or URL for the file.

When the “Host is reachable” indicator turns green, click the Next button.

Enter a local name for the repository and click Clone (or Checkout) to copy it.

Choose a location and click the highlighted Clone (or Checkout) button to save the local repository.

When I went to step 3, a yellow lamp occurred instead of a green one and said “authentication required”.

I clicked next button, and clone failed. Then it showed NOTHING, no error log or notice or anything else.

When I clicked previous button it also showed nothing, so I think it’s a bug of Xcode Version 4.3.2 (4E2002).

Seems newbie can’t post image… link below: T_T
https://i.stack.imgur.com/jWXvx.png

https://i.stack.imgur.com/K6MqG.png

Update 2:

Besides, I also tried “Add repository” instead of “Checkout or Clone Repository”. It gave me the same notice again, but after a short while I saw a green lamp. Unfortunately a label said “Unable to load revisions” showed at center of screen, and seems it still can’t work.

I googled for these issues but can’t find any valuable answer.

Update 3:
I tried to restart my MAC and Xcode, then this problem fixed itself… it’s very complicated…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:23:09+00:00Added an answer on May 31, 2026 at 11:23 pm

    If you want to use git as your version control system then go to your project folder on terminal and run these commands –

    git init
    
    git add .
    
    git commit -m "Initial commit"
    

    Or if you want to use SVN as your version control system then follow this

    1) Use the mkdir command to create a directory with three subdirectories named branches, tags, and trunk to hold a temporary copy of your project.
    2) Copy your Xcode project into the trunk subdirectory.
    3) Use the svnadmin create command to create an empty Subversion repository.
    4) Use the svn import command to import your project into the new Subversion repository.

    examples –

      mkdir /Repo_Master/Sketch_svn_tmp/trunk
      mkdir /Repo_Master/Sketch_svn_tmp/branches
      mkdir /Repo_Master/Sketch_svn_tmp/tags
      cp -R /Library/MyProjects/Sketch /Repo_Master/Sketch_svn_tmp/trunk
      svnadmin create /Repo_Master/Sketch_svn
      svn import /Users/myUserName/Projects/Sketch_tmp \
      file:///Users/myUserName/Repositories/Sketch_svn -m "Initial import"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Situation: Site with content protected by username/password (not all controlled since they can be
Situation: I have some persons with certain skills and they can/might belong to more
Situation: I want to provide a website service where users can enter some data
I have the following situation which I can't figure out. I have a menu
Situation: I have a simple XML document that contains image information. I need to
Situation: A PHP application with multiple installable modules creates a new table in database
Situation: text: a string R: a regex that matches part of the string. This
Situation: you've got a .swf embedded in an html page, and when you click
Situation: Table TBL has ~10k entries for deletion, Table TBL has 14 child tables
Situation is you have to develop an application against an Active Directory Tree. Want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.