Reputation: 31665
As mentioned in the GitHub and the New Source Control Workflows in Xcode 9 Apple video session, we are able to clone the project directly from Xcode, as shown at Clone in Xcode.
However, for some reason I can't see it:
Please note that:
Since I have installed Xcode 9.x, I would assume that it should be automatically appear when clicking the "clone or download" button. Should I do extra work to be able to see it?
Upvotes: 6
Views: 3516
Reputation: 58139
UPDATE: in Xcode 12, this works even without logging in.
Original answer:
You have to be logged in to GitHub in Xcode as well.
In Xcode, navigate to Preferences.../Accounts, click on the + button in the lower left corner, select GitHub and enter your login credentials. After that, refresh the GitHub page and you should see the button.
Fun fact: you don't even have to use Safari, the button is available in other browsers as well (such as Chrome).
Upvotes: 5