Mark DiFranco introduces Xcode Server: an Apple continuous integration software. Learn how to download the macOS Server app, and get a better idea of how it can fit into your existing workflow.
- [Instructor] Xcode Server is a continuous integration tool for iOS apps, built by Apple. It comes bundled with the macOS Server application. It can be downloaded for free if you have a Developer ID, otherwise it costs $30. It can be installed on any Mac machine. It will automatically check out your project, build the app, run tests, and archive the app for distribution. Letting you know if anything went wrong. Xcode Server will automatically take care of signing the build with its own certificate when you add it to your team.
When you're ready to submit your app to TestFlight or the App Store, it's as simple as clicking a button. Let's take a look at a diagram of the workflow when using Xcode Server. Here we've divided up the screen into your local Mac machine, your source code server, and the CI server. You develop in Xcode on your local Mac, and you push and pull source code to your source code server. On the CI server, you install macOS Server. It will pull source code from your source code server directly. Once it pulls the source code, it will run integrations using its own local copy of Xcode.
From Xcode on your local Mac, you can configure the Xcode server and Xcode server will report the results back to Xcode on your local machine.
- What is continuous integration?
- Setting up Xcode Server
- Creating a bot for your project
- Monitoring your bot
- Using Xcode Server API
- Starting a new integration
- Downloading build artifacts