Skip to content

feat: add iOS TestFlight dispatch template and enhance Xcode setup ac… - #28

Merged
omarghatasheh merged 1 commit into
mainfrom
staging
Mar 9, 2026
Merged

feat: add iOS TestFlight dispatch template and enhance Xcode setup ac…#28
omarghatasheh merged 1 commit into
mainfrom
staging

Conversation

@MusaMisto

@MusaMistoMusaMisto commented Mar 9, 2026

Copy link
Copy Markdown
Member

…tion

Summary by CodeRabbit

Release Notes

  • New Features
    • Added configurable Xcode version selection for CI/CD pipelines
    • Introduced a reusable workflow for iOS TestFlight builds with flexible configuration options
    • Added dispatch template for environment-specific staging and production builds

@omarghatasheh
omarghatasheh merged commit b4540d2 into mainMar 9, 2026
1 check passed
@coderabbitai

coderabbitaiBot commented Mar 9, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8381fbce-ec33-40ca-aaca-147703f50154

📥 Commits

Reviewing files that changed from the base of the PR and between 7adce70 and 1203a6c.

📒 Files selected for processing (3)
  • .github/actions/xcode-setup/action.yml
  • .github/workflows/generic-ios-testflight.yml
  • .github/workflows/ios-testflight-dispatch-template.yml

📝 Walkthrough

Walkthrough

This PR enhances the Xcode setup action to support flexible version selection and introduces two new GitHub Actions workflows for automating iOS app builds and TestFlight releases with configurable macOS runners, Node versions, signing, versioning, and environment-specific release strategies.

Changes

Cohort / File(s)Summary
Xcode Setup Enhancement
.github/actions/xcode-setup/action.yml
Added xcodeVersion input parameter (default "26") and replaced hardcoded Xcode 16.4 selection with dynamic version search across multiple installation paths, including error handling and validation for missing versions.
iOS TestFlight Build and Release Workflows
.github/workflows/generic-ios-testflight.yml, .github/workflows/ios-testflight-dispatch-template.yml
Added reusable generic iOS TestFlight workflow supporting configurable build parameters, signing certificate/provisioning profile management, pbxproj versioning, IPA generation, and TestFlight/App Store release; added dispatch template enabling staging and production environment-specific releases.

Sequence Diagram(s)

sequenceDiagram
actor Developer
participant GHA as GitHub Actions
participant Runner as macOS Runner
participant Xcode as Xcode/CocoaPods
participant Signing as Signing Service
participant Archive as Archive/Export
participant TestFlight as TestFlight/App Store
Developer->>GHA: Trigger workflow (staging/production)
GHA->>Runner: Set up runner environment
Runner->>Xcode: Validate & select Xcode version
Xcode->>Runner: Install dependencies (Node, CocoaPods)
Signing->>Runner: Install signing certificate & provisioning profile
Runner->>Xcode: Update versioning (pbxproj)
Xcode->>Archive: Build archive (xcodebuild)
Archive->>Archive: Generate/validate exportOptions.plist
Archive->>Archive: Export IPA
Runner->>Runner: Rename & upload IPA artifact
GHA->>TestFlight: Release to TestFlight/App Store
TestFlight-->>Developer: Build available
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Suggested reviewers

  • omarghatasheh

Poem

🐰 With carrot-colored Xcode paths so bright,
We build iOS apps from morning to night,
From staging to production, the workflows align,
TestFlight awaits—your release is divine!
Dynamic versions selected with care,
A robust build pipeline beyond compare.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch staging

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@MusaMisto@omarghatasheh