Set up GitLab CI with an iOS project that uses Cocoapods
We all write tests for our applications and keep them in version controlled systems like GitLab or GitHub. However, how can we configure GitLab to run Unit and UI tests for us? I couldn’t find a lot of documentation explaining how to set up continuous integration for iOS on GitLab, therefore I am writing this article. Victor Peschenkov explains in his article how to use GitLab CI with Fastlane. My article focuses on how to run everything yourself. Requirements In order to set up GitLab Runner for iOS we need the following tools: Mac Xcode 10 GitLab.com account (or a self-hosted one) Homebrew CocoaPods (use Homebrew: brew install cocoapods ) Please install these tools now before continuing. Configure Xcode Make sure to download Xcode form the Mac App Store. Once it is installed open it and create a project to make sure it is completely installed and running. iOS Project I created a sample project to get you started more quickly. Feel free to fork it or use your own pro...
Comments
Post a Comment