Key takeaways
- Agent mode on your Mac can run xcodebuild; the Copilot coding agent on GitHub cannot, because its environment does not support macOS runners.
- Workflows on the coding agent's pull requests wait for human approval by default – keep it that way when they can reach secrets.
- Split CI into a secret-free check build for every pull request and a gated release job that signs and uploads to TestFlight.
- Turn App Review requirements into labelled issues so it is clear which ones Copilot may implement and which stay with a person.
Two Copilots, two places your iOS code comes from
Agent mode runs inside your editor – VS Code and other IDEs, and GitHub also offers a Copilot extension for Xcode. It edits files across the project and runs terminal commands on your machine. On a Mac with Xcode 26, that includes xcodebuild, so agent mode can build and test the app the same way you would.
The Copilot coding agent – newer GitHub documentation calls it the Copilot cloud agent – works on GitHub itself. You assign it an issue or ask it for a change, it works in an ephemeral environment powered by GitHub Actions, pushes commits to a branch and opens a pull request for review. It is the more interesting one for small teams, because it turns the issue backlog into reviewable pull requests while nobody is at a keyboard. It is also the one with an iOS-specific blind spot.
The coding agent never sees macOS – plan around it
You can shape the agent's environment with a .github/workflows/copilot-setup-steps.yml file, but GitHub's Copilot documentation lists only Ubuntu (and, in newer versions, Windows) runners as supported. macOS runners are not. The agent can therefore read and edit Swift, but it cannot compile a SwiftUI target, run XCTest on a simulator or archive anything.
Two practical answers:
- Let your own macOS workflow judge its pull requests. A workflow on a GitHub-hosted macOS runner builds and tests every pull request, including Copilot's. Ask the agent to iterate on that workflow's failures in the pull request conversation.
- Keep platform-neutral code testable on Linux. Business logic in a Swift package that only needs Foundation can be built with the Swift toolchain on Ubuntu, so the agent gets at least some real compiler feedback in its own environment.
One security default matters here: GitHub treats the agent like an outside contributor, so Actions workflows on its pull requests do not run until someone with write access approves them. A repository setting can skip that approval. Leave the default in place for any workflow that can reach secrets.
Talk to an AI Code Engineer about shipping your app to the App Store.
In a free call we look at what you built, tell you honestly what stands between it and an approved release – and whether you need us at all.
Separate check builds from release builds
The safest structure uses two workflows that never share secrets:
| Check workflow | Release workflow | |
|---|---|---|
| Trigger | Every pull request | Version tag or manual run on main |
| Runner | macOS | macOS with Xcode 26 and the iOS 26 SDK |
| Signing | Disabled, simulator build | fastlane match or API-key-based automatic signing |
| Secrets | None | Held in a GitHub environment with required reviewers |
| Result | Pass/fail and test report on the pull request | Build uploaded to TestFlight |
Add a CODEOWNERS entry so changes under .github/workflows/, to entitlements and to the Xcode project's signing settings always need your review – an agent that edits the release workflow could otherwise widen its own reach. Our article on GitHub Actions for mobile CI with agents contains full workflow examples.
Repository instructions for an App Store project
Copilot reads repository custom instructions from .github/copilot-instructions.md. For an iOS app, use them to describe the release constraints the agent cannot discover on its own:
- the bundle identifier, team and deployment target – and that none of them change,
- that the coding agent cannot build the app, so every pull request description must list what still needs verification on macOS,
- that new SDKs must be named in the pull request, along with whether they ship a privacy manifest,
- that permission texts in
Info.plistexplain the real purpose in plain language.
For a template that also works for other agents, see instruction files for mobile projects.
Turn the review checklist into labelled issues
Because the coding agent starts from issues, App Review requirements become easy to delegate – as long as each issue says who owns it:
| Issue | Owner |
|---|---|
| Add in-app account deletion (Guideline 5.1.1(v)) | Copilot, reviewed by you |
| Offer Sign in with Apple next to Google login (4.8) | Copilot for code; you enable the capability |
| Remove placeholder screens and sample data (2.1) | Copilot |
| Sell premium content via In-App Purchase (3.1.1) | Copilot for StoreKit code; you create products in App Store Connect |
| Declare required-reason APIs in the privacy manifest | Copilot drafts; you verify against the SDKs |
| App Privacy answers, age rating, review notes | You |
The App Store review checklist for AI-built apps lists more items worth turning into issues.
TestFlight, App Store Connect and the submission
Once the release workflow has uploaded a build, it appears in TestFlight for your internal testers; external testers follow after Apple's beta review. Collect their findings as issues – the same loop as above. When the build is ready, the account holder completes the App Store Connect side: screenshots and description, App Privacy, age rating, export compliance, a demo account in the review notes, and finally the submission.
Our AI Code Engineers can run that release for you – macOS pipeline, signing, listing and the review conversation, all in your own Apple account. See the iOS submission service, or read GitHub Copilot app to Google Play for Android, where the agent's Linux environment is no obstacle.
Copilot iOS release checklist
- A macOS check workflow builds and tests every pull request without secrets.
- Workflows on Copilot pull requests still require human approval before they run.
- The release workflow signs and uploads from a GitHub environment with required reviewers.
- CODEOWNERS protects workflows, entitlements and signing settings.
- .github/copilot-instructions.md states bundle ID, team, deployment target and verification rules.
- Review requirements exist as labelled issues with a clear owner.
- App Privacy, age rating, export compliance and review notes are completed by the account holder.
Frequently asked questions
Can the Copilot coding agent build my iOS app?
No. Its environment runs on Ubuntu or Windows runners, and macOS is not supported, so it cannot run Xcode. Use agent mode on a Mac for build-heavy work and a macOS workflow to check the coding agent's pull requests.
Can I use Copilot inside Xcode?
GitHub offers a Copilot extension for Xcode, and agent mode is available in VS Code and other IDEs. Whichever editor you use, signing and capabilities are best configured in Xcode itself.
Should workflows run automatically on Copilot's pull requests?
Only if they have no access to secrets. The default approval step exists because workflows can be privileged. A secret-free check workflow is the safe candidate for automation.
Can you release our Copilot-built app?
Yes. Book a free call and an AI Code Engineer reviews your repository and workflows with you. We can take over the macOS pipeline, signing, the store listing and the review in your own Apple Developer account.
Free, 15 minutes, no obligation
Get your app from agent output to approved release.
Our AI Code Engineers take apps built with Claude Code, Codex, Cursor, Lovable, Base44 and co. through signing, CI/CD, store listings and review – in your own developer accounts.
AI tools, store policies and requirements change quickly – always check the current documentation of the tools and stores you use. This article is independent advice and not affiliated with or endorsed by Apple, Google, Anthropic, OpenAI or any other company or product mentioned; all trademarks belong to their owners.