skip to Main Content

I am trying to clone a git repository from GitHub to use in the xcode ide environment, however it seems to be stuck on the ‘Checking out’ phase. I’ve left it for an hour but it seems to be hung on this stage.

I go to the Github repository, then copy the URL that is under the tab ‘Code’. In xcode, I select ‘Clone an existing project’, enter the URL, put in my Github account details and password etc and then save to my computer in Documents. Then I click ‘Clone’ and it proceeds but gets hung on the Checking Out screen.

I’ve watched a few online videos and there was the option to open in xcode directly from GitHub itself. But, despite the video only being a year old, this option now seems obsolete and is no longer available, at least in what I can see.

Anyone know how to resolve?

2

Answers


  1. I’ve had a similar issue with a particular project when using Xcode 12.4 on OS X 11.0.1 (Big Sur). To get around it I just checked out the code on the command line via git then opened it up in Xcode.

    git clone https://github.com/<user>/<project>.git
    

    Just use the "Open a project or file" option in Xcode and point it at the checked out code.

    Login or Signup to reply.
  2. I know I’m a bit late on this discussion but I found the solution for this in this link -> https://help.dropsource.com/docs/documentation/after-dropsource/accessing-your-source-code/importing-ios-source-code-into-xcode/#importing-into-xcode

    after cloning the project using a terminal as described by Robert Hunt open your Xcode and select open a project or file. Then navigate inside the cloned project where you have the file with extension “.xcodeproj” and select it(usually inside Clonedproject->iOS).

    Hope this helps someone in future!!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search