如何在Xcode中创建一个机器人?获取“创建机器人需要在源控制下的项目”。 [英] How do I create a bot in Xcode? Getting "Creating a bot requires a project that is under source control."

查看:211
本文介绍了如何在Xcode中创建一个机器人?获取“创建机器人需要在源控制下的项目”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Mavericks中使用OS X Server for Mavericks获得连续集成设置。



我安装了服务器,我的源代码位于本地目录使用来自assembla的Git。我遵循Apple Xcode持续集成指南,我正在向Xcode中添加一个机器人到产品中。



错误:


创建漫游器需要一个由源代码控制的项目。此项目似乎在本地git存储库中。为了能够创建bot,项目必须在服务器可以访问的存储库中,以便它可以克隆它。 [取消] [配置遥控器...]


点击取消或配置遥控器将会启动我的文件夹配置,远程添加只是罚款。



我如何前进?

解决方案

似乎这个问题发生时,没有一个远程命名origin,因为这是Xcode正在寻找。当我把远程重命名为origin(在< ProjectRoot> /。git / config ),Xcode停止抱怨,让我通过Xcode UI添加一个机器人。 >

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?

解决方案

It seems like this issue happens when there isn't a remote named "origin", as that's what Xcode is looking for. When I renamed my remote to origin (in <ProjectRoot>/.git/config), Xcode stopped complaining and let me add a bot through the Xcode UI.

这篇关于如何在Xcode中创建一个机器人?获取“创建机器人需要在源控制下的项目”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆