Fairly straightforward question. When creating an Xcode 8 project, Xcode doesn't give me the option to create a local Git repo. The option is grayed out. Also, in existing projects, all options within the Source Control menu are grayed out. Git is installed on my computer. What's the deal?
Overview. Source control is the practice of tracking and managing changes to your code. Manage your Xcode project with source control to keep a rich history of the changes you make, and collaborate on code faster and more effectively. Xcode simplifies source control management with its built-in support for Git.
In Xcode, choose Xcode-> Preferences, then select Source Control and uncheck Enable Source Control option.
Push your projectGo to Source Control in Xcode and select Projectname -- master, then Configure... In the Address field, paste the Git clone URL for your repo copied in the previous step. Select Add Remote, then select Done to finish creating the origin remote for your local Git repo.
Choose Xcode > Preferences > Accounts, click the Add button (+), select the type of account to add, and click Continue. In the dialog that appears, click the “Create a Token on [Source Control Platform]” button if you don't have a token already.
Have you enabled and configured it via the preferences?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With