Xcodebuild: error: 'myproject.xcodeproj' does not exist

I have set up a runner for the first time and all connects and starts to clone process and run build but seems to get stuck and does not copy any of the files from my mac but creates a couple of folders in location but then errors with

xcodebuild: error: ‘myproject.xcodeproj’ does not exist.

Running with gitlab-ci-multi-runner 1.5.2 (76fdacd)
Using Shell executor...
Running on ProcterMacPro.home...
Cloning repository...
Cloning into '/Users/adamprocter/Dropbox/myproject/builds/9b066253/0/adamprocter/reponame'...
Checking out c67621a5 as master...
$ xcodebuild clean -project irishdancer.xcodeproj -scheme irishdancer
2016-08-25 00:00:14.606 xcodebuild[2759:190324] [MT] PluginLoading: Required plug-in compatibility UUID 1637F4D5-0B27-416B-A78D-498965D64877 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
xcodebuild: error: 'myproject.xcodeproj' does not exist.
ERROR: Build failed: exit status 1

here is a screenshot of the folder on my mac in users/adamprocter/dropbox called myproject which holds xcode project file and related files (note myproject folder inside uses same name as well) after the runner has exited. I have been working locally on my mac and then created a repo with readme and licences files only via gitlab UI

I don’t understand your question… There are two solutions but your screenshot only shows me what you have on your working machine,
it doesn’t show me what your Git repository on the gitlab runner contains.

INstead of seeing the contents of your working copy locally, maybe add a “ls”.


there is next to nothing on the gitlab - http://gitlab.adamprocter.co.uk/adamprocter/feistrack - I want to sync my code changes (saves) direct from my mac using the runner.

The purpose of Gitlab runner is to check out a Git repo from Gitlab. So that’s your problem. You are using Gitlab Runner in a manner that it was not designed to be used. Git is how you sync stuff. Push to gitlab server. Then build.

1 Like