Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/universumgames/xcode-ci-cd
A small collection of shell scripts to compile, archive, export and upload your XCode Application (feasable for CI/CD)
https://github.com/universumgames/xcode-ci-cd
apple cicd ios macos swift xcode
Last synced: 7 days ago
JSON representation
A small collection of shell scripts to compile, archive, export and upload your XCode Application (feasable for CI/CD)
- Host: GitHub
- URL: https://github.com/universumgames/xcode-ci-cd
- Owner: Universumgames
- Created: 2022-06-09T17:46:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-12T21:48:18.000Z (over 2 years ago)
- Last Synced: 2023-09-10T00:23:11.797Z (over 1 year ago)
- Topics: apple, cicd, ios, macos, swift, xcode
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Use XCode with CI/CD
Here some cut down basics:
This repository contains all necessary files to compile, archive and upload your XCode application to AppStoreConnect (if you have an Apple Developer Account). For this construction of shell scripts to work, here some requirements:
- obviously you have to run this script on MacOS, how to do that is up to you, I've provided an example Gitlab script
- if you want to upload your application to the AppStore, the same rules apply when uploading via XCode (owning an Developer Account for example)
- you need to edit some files to work on your machine:
- [`appleOTP.sh`](appleOTP.sh): you have to provide an Apple-ID and an OTP generated on [https://appleid.apple.com/account/manage](https://appleid.apple.com/account/manage) and "App-Specific Passwords"
- [`exportPlist.plist`](exportPlist.plist): you have to provide your TeamID you want your app to be archived to
- [`exportArchive.sh`](exportArchive.sh): your have to edit the Path to the exportPlist.plist file you want to useIMPORTANT
You may need to adjust some lines down the line, I was yet unable to test all possible configurations and only tested exporting an iOS app.# How to use
Sadly, my schedule is full and I am currently unable to complete this Readme, in the mean time here a rather limited explanation.
Currently, if you want to learn on how to use my scripts, have a look at my [example Gitlab file](exampleGitlabCIForXCode.yml).
If your're interested on a more detailed look, look inside the files yourself and try to run them, they will tell you the most important arguments the scripts needs.