ios - 如何在 Xcode 中创建机器人?获取 "Creating a bot requires a project that is under source control."

标签 ios continuous-integration xcode5 osx-mavericks osx-server

我正在尝试使用 OS X Server for Mavericks 在 Mavericks 中设置持续集成。

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

我收到错误:

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...]

单击取消或配置 Remote 会弹出我的文件夹的配置,我看到我的 Remote 添加得很好。我还尝试使用不同的名称再次添加远程存储库。

我该如何前进?

最佳答案

当没有名为“origin”的远程时,似乎会发生此问题,因为这正是 Xcode 正在寻找的。当我将我的 Remote 重命名为 origin(在 <ProjectRoot>/.git/config 中)时,Xcode 停止提示并让我通过 Xcode UI 添加一个机器人。

关于ios - 如何在 Xcode 中创建机器人?获取 "Creating a bot requires a project that is under source control.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19628512/

相关文章:

ios - 如何在音频文件中添加插图,以显示在专辑封面中?

ios - Sinch 委托(delegate)方法 "shouldSendPushNotification"未被调用

git - 在单一存储库中构建微服务的最佳策略是什么?

continuous-integration - 在持续集成中处理多个分支

objective-c - Cocos2dv3 : Renaming project causes Objective Chipmunk to not be found

ios - 具有属性的 NSMutableArray

ios - 带解析的 iMessage 扩展

objective-c - 数据上传期间在 UITableView 上的 UIProgressView+Activity Indicator View

ios - 发布后更新 iOS 应用描述而不更改应用

ssh - 如何通过 SSH 调试 CircleCI VM?