Ios ci

From SteveGJones/ai-first-sdlc-practices · View interactive version

Ios ci is an AI agent skill from the GitHub repository SteveGJones/ai-first-sdlc-practices. Generate a GitHub Actions workflow for iOS — macOS runner, SPM/DerivedData caching, build, test on a simulator matrix, run the iOS pre-flight checks, and (optionally) sign + upload to TestFlight. Use when setting up CI for an iOS app.

How to use this skill

Skill file

iOS CI

Generate a GitHub Actions workflow for an iOS app. Complements (does not replace)

/sdlc-core:setup-ci — this adds the iOS-specific pieces (macOS runners, simulators, signing).

Belongs to the ios-release-engineer discipline.

Arguments

Steps

1. Establish the project shape

CocoaPods, or Carthage (affects caching and the resolve step). Confirm the Xcode version to pin.

2. Generate the workflow

Produce an iOS CI workflow file under the .github/workflows/ directory with:

xcodes select / sudo xcode-select -s pinned to the project's Xcode version.

(Pods, ~/Library/Caches/CocoaPods); keyed on the lockfile.

'platform=iOS Simulator,name=iPhone 16,OS=latest'` — use a simulator matrix across the OS

versions you support; pass -resultBundlePath and surface failures.

strings, export compliance, entitlements) fail CI before a release ever reaches App Store Connect.

3. (Optional) Signing + TestFlight upload job

Only if the project releases from CI:

App Store Connect API key (.p8 + key ID + issuer ID) — all in GitHub Actions encrypted secrets,

never in the repo.

security set-key-partition-list, install the profile; prefer manual signing or

fastlane match --readonly.

upload via fastlane pilot, xcrun altool, or the App Store Connect API.

CI build is unique, monotonic, and traceable to a commit.

ENABLE_USER_SCRIPT_SANDBOXING = NO.

4. Report

Summarise the workflow: what triggers it, the test matrix, whether it gates on pre-flight, and whether

it uploads to TestFlight. Note any secrets the user must add before it will run.

Notes

team is all-in on Apple tooling and doesn't need cross-platform CI steps.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.