Is there a most recent and detailed-enough tutorial out there on how to set up a CI for an iOS project using Gitlab ?
I found many tutorials (see list below) - but it seems that things have changed at GitLab since these tutorials were made. Or they are simply not detailed and well-enough explained for me as a beginner. Therefore I wonder if there is a most accurate step-by-step explanation on how to set Gitlab-CI up for iOS on a Mac ?
In particular, I am looking for a Gitlab-CI step-by-step tutorial for an iOS project using Fastlane and having Cocoapods Dependencies.
Below you find the list of tutorials and pages that all say things about GitLab CI setup for iOS projects.
(I've followed all of them - but none is detailed enough for me as a beginner in CI or, really, is no longer accurate for 2019 and what GitLab represents today).
For all of the tutorials, I end up with Gitlab Pipeline errors.
Here a list of my open stackoverflow questions, each with its own Gitlab CI trial:
gitlab-runner register
without sudo: I end up with "permission denied" Stackoverflow Nr1gitlab-runner register
with docker: I end up with "root error" Stackoverflow Nr2sudo gitlab-runner register
with sudo: I end up with "root error" Stackoverflow Nr 3
Concrete questions:
- can you use "docker" with Gitlab for iOS ? (or must it be "shell")
- do you need to use the "sudo" word or not for your gitlab-runner registration ? (why or why not)
- how do you set permissions on your Mac so that Gitlab CI works once you leave all sudo words out ?
Here is the list of tutorials I've found that explain Gitlab CI with iOS projects: