Skip to content

Tutorial - How to test and build your iOS project with GitLab CI

Who is this for?

By @AngeloStavrow

To keep in line with GitLab's everyone can contribute strategy, I would suggest keeping this relatively accessible to developers of all levels. I'd assume that someone considering CI is probably capable of creating their own Xcode and GitLab projects and is relatively familiar with basic git commands. What do you think?

CI has always struck me as being a little scary to have to set up and maintain. As I mentioned in my submission, GitLab CI is really easy to setup, and I think that could be a big selling point for the service!

Outline

  • Why CI?
  • Assumptions and environment (OS, GitLab, and iOS SDK versions)
  • Setting up your Xcode project for CI
  • Installing and registering the GitLab CI Runner
  • Setting up your GitLab project for CI
  • How to trigger builds
  • How to stop/resume the runner, and what it does
  • Other salient points

Project planning

First-draft MR approx Saturday (20 February).

Reference materials

Community member wrote about Continuous Integration with Xcode & GitLab @axil converted it to Markdown.