Abdalrahman Shatou
Abdalrahman Shatou

Reputation: 4758

Xcode 5 - No Remotes Found

Here are the steps:

  1. Added a repo to beanstalkapp.
  2. Added the repo from Preferences > Accounts in Xcode 5.
  3. Created a new project with local git.
  4. Selected Source Control > Push...

Xcode shows me "no remotes found".
What am I doing wrong?

Upvotes: 11

Views: 8924

Answers (4)

x4h1d
x4h1d

Reputation: 6092

  • Goto Xcode -> Preferences under Xcode menu

  • Select Accounts

  • Press "+" icon on the left-bottom corner, then press "Add Repository..."

  • Add repository location in the text box, Click Next.

  • Give password if it asks.

  • Now try to push again

Upvotes: 0

Carlos Rivas
Carlos Rivas

Reputation: 41

Make sure to publish your repository first. You cannot push to a local repository.

I also had this problem but I realized I haven't published the current repository yet. This was the reason why there is no remote to be found.

  1. Publish your git repository
  2. Push from xcode

Upvotes: 0

mistakeNot
mistakeNot

Reputation: 783

1 - go to source control tab (next to project navigator)

2 - right click on the master folder

3 - create remote on github...

Upvotes: 1

Jay Versluis
Jay Versluis

Reputation: 2072

Xcode probably doesn't know that the remote belongs to your project. See if this works:

  • Open your project in Xcode

  • Head over to Source Control - Working Copies (your project) - Configure - Remotes. Can you see your remote there? If not, hit the plus sign at the bottom left and add your remote.

  • If your project is showing, and you've verified the path, try Source Control - Push. You should see your remote(s) and a drop-down of branches.

  • If instead you see "No Remotes", try rebooting Xcode.

Upvotes: 2

Related Questions