How do I create a bot in Xcode? Getting "Creating a bot requires a project that is under source control."

David Silva Smith picture David Silva Smith · Oct 28, 2013 · Viewed 7.1k times · Source

I'm trying to get Continuous Integration setup in Mavericks using OS X Server for Mavericks.

I have the Server installed and my source code is in a local directory using Git from assembla. I'm following the Apple Xcode Continuous Integration Guide, and I'm at the part where I'm adding a bot to the product in Xcode.

I'm getting the error:

Creating a bot requires a project that is under source control. This project appears to be in a local git repository. To be able to create a bot, the project must be in an repository the server can access so it can clone it. [cancel] [Configure Remotes...]

Clicking either cancel or configure remotes brings up the configure for my folder and I see my remote added just fine. I also tried adding the remote repository again with a different name.

How do I move forward?

Answer

David Silva Smith picture David Silva Smith · Oct 28, 2013

This is hacky, but worked.

In Xcode I clicked the Source Control menu then checkout. I checked out my repository to a new folder and I was able to create my bot.

It seems adding the repository from the command line caused things to not look correctly configured to Xcode.