Build: Xcode Cloud CI/CD Setup
This screen helps you understand and simulate a simple CI/CD pipeline setup using Xcode Cloud for an iOS app. It shows build status and lets you trigger a build.
Target UI
┌───────────────────────────────┐ │ Xcode Cloud CI/CD │ ├───────────────────────────────┤ │ Build Status: Idle │ │ │ │ [Trigger Build] │ └───────────────────────────────┘
Display current build status text (Idle, Building, Success, Failure).
Add a button labeled 'Trigger Build' to start a simulated build process.
When the button is tapped, change status to 'Building' for 3 seconds, then randomly show 'Success' or 'Failure'.
Use simple SwiftUI views and state management.
Ensure accessibility labels for status text and button.