Dunfey · Hotel WWDC as data, est. 1983
Front desk everything
Years
Topics

2023 Developer Tools

WWDC23 · 29 min · Developer Tools

Create practical workflows in Xcode Cloud

Learn how Xcode Cloud can help teams of all shapes and sizes in their development process. We’ll share different ways to configure actions to help you create simple yet powerful workflows, and show you how to extend Xcode Cloud when you integrate with additional tools.

Watch at developer.apple.com ↗

Transcript all transcripts

Chapters

  • 1:15 — Case Study 1: Solo developer
  • 2:33 — What is a workflow
  • 6:56 — Custom scripts
  • 7:33 — Case Study 2: Medium-sized team
  • 9:38 — Pull Request build start condition
  • 14:38 — Changing the App Icon
  • 19:54 — Case Study 3: Large team
  • 24:25 — Running tests reliably
  • 26:48 — Extending Xcode Cloud

Code shown on screen · 1 snippet

Pre-build script that replaces the app icon for beta builds bash · at 14:38 ↗
#!/bin/sh
# ci_pre_xcodebuild.sh
#

if [[ "$CI_XCODEBUILD_ACTION" == "archive" && "$CI_WORKFLOW" == "Beta" ]]; then
    echo "Replacing app icon with beta icon"
    mv BetaAppIcon.appiconset ../App/Assets.xcassets/AppIcon.appiconset
fi

Resources