- #How to install gitlab xcode runner archive#
- #How to install gitlab xcode runner android#
- #How to install gitlab xcode runner simulator#
#How to install gitlab xcode runner archive#
xcodebuild clean archive -archivePath build/$ProjectName -scheme $SchemeName
xcodebuild test -project $ProjectName.xcodeproj -scheme $SchemeName -destination 'platform=iOS Simulator,name=iPhone 13,OS=15.2' xcodebuild clean -project $ProjectName.xcodeproj -scheme $SchemeName You need to change to tags you used while registering the runner. Please pay attention to the tags field, and this is the one for our runner just created above. Add the following script block to your pipeline script (. You can use that file for the CI pipeline. The easiest way to generate the ist file is to export the IPA file through Xcode once you have successfully exported your IPA file, it creates an ist file for you. create the ist fileĪ sample ist file could look like the below: And continue to add TESTAPPIO_APP_ID variable. Uncheck Protect variable and check the Mask variable. Set key field to TESTAPPIO_API_TOKEN you could name it whatever you want, we will refer to it in the pipeline script. Go to Settings > CI/CD > Variables > Add variable. Create global variables TESTAPPIO_API_TOKEN and TESTAPPIO_APP_ID Now the runner is ready, let's build and package our iOS apps with this runner. Let's go to the Gitlab project settings runner section to see if it succeeded. Gitlab-runner: Service is running And finally, register the runner gitlab-runner register
Make it executable sudo chmod +x /usr/local/bin/gitlab-runner MacOS Apple Silicon/arm64 sudo curl -output /usr/local/bin/gitlab-runner "" MacOS amd64 sudo curl -output /usr/local/bin/gitlab-runner "" Import the certificates for codesign and provision profile, make sure that you can archive & export IPA file Xcode manually. Import the codesign certificate and provision profile to build & export the IPA file in Xcode. Make sure that xcodebuild was using xcode rather than the command line tools sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer So we will create the runner ourselves and register to Gitlab as a runner. Send notifications to your team members about this release: true or falseĪ macOS computer is required to build and package your iOS apps (IPA) however, Gitlab does not provide such a runner for making your iOS apps. Include the last commit ID in the release notes (works with both release notes options): true or false Manually add the release notes to be displayed for the testersĬollect release notes from the latest git commit message to be displayed for the testers: true or false
#How to install gitlab xcode runner android#
Gitlab pipeline allows you to build and upload both Android & iOS apps to TestApp.io to notify your testers for testing and feedback.