ios - GitLab Ci Runner 错误 "bash: line 21: xcodebuild: command not found "

标签 ios linux gitlab-ci gitlab-ci-runner

我在 Linux 上有一个 gitlab-ci 服务,这是信息

Linux DevOps 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

我遵循了本教程 https://about.gitlab.com/2016/03/10/setting-up-gitlab-ci-for-ios-projects/ ,在 如何触发构建 部分之前 一切正常,唯一不同的是操作系统 “El Capitan”“Linux” 的环境。

当我尝试 git push 时出现错误,我不知道如何解决这个问题......

enter image description here

最佳答案

xcodebuild 仅在 OS X 上可用,因此您需要在安装了 OS X 和 XCode 的主机上构建您的应用程序。

关于ios - GitLab Ci Runner 错误 "bash: line 21: xcodebuild: command not found ",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37825949/

相关文章:

ios - 带有用户文本+静态标记的 UITextField

ios - 验证服务器上的自动续订订阅收据

linux - ctrl+c 会向 Linux 中的父进程和子进程发送 SIGINT 信号吗?

docker - docker-in-docker (dind) 服务在 gitlab ci 中的作用

gitlab - 使用api gitlab下载文件

ios - WKInterfaceTable 和 Storyboard中的单元格在运行时不显示单元格。

ios - 如何基于 iPhone TrueDepth Camera 生成 3D 模型?

linux - 在哪里可以找到 "reboot"命令的源代码?

c++ - itk 3.20.1 处理器亲和性

gitlab - 在 gitlab ci 中获取分支名称