Repository avatar
Developer Tools
v0.1.3
active

orchard

io.github.rossoliverhidge/orchard

Build iOS apps without a Mac: compile on real Macs, see screenshots, preview, ship to TestFlight.

Documentation

Orchard for Claude Code and Codex

Build iOS apps without a Mac. Your coding agent writes the Swift; Orchard compiles it on a real Mac, gives you a browser preview, and ships it to TestFlight with your own Apple developer account.

Claude Code

/plugin marketplace add rossoliverhidge/orchard
/plugin install orchard@orchard

Then ask Claude to build you an app. The first time, it gives you a link to sign in (or create a free account) in your browser.

You get:

  • MCP tools: new_app, check_build, run_simulator, preview, ship_testflight, appstore_screenshots, appstore_check, appstore_submit, appstore_status, build_status, build_logs, account, login, connect_apple
  • the orchard-ios skill, which teaches the agent the build, fix, look-at-it and preview loop
  • /orchard:build, /orchard:preview, /orchard:ship, /orchard:appstore, /orchard:account

The MCP server ships inside the plugin (plugin/server/orchard.mjs, built from the orchapp npm package), so nothing is downloaded when it starts.

Codex

Copy the block in codex/config.toml into ~/.codex/config.toml, and codex/AGENTS.md into your project's AGENTS.md. Then ask Codex to build you an app; it gives you a sign-in link the first time.

Terminal

npx orchapp new MyApp        # start a SwiftUI app ready to build and ship
npx orchapp build            # compile on a Mac, show errors
npx orchapp preview          # browser preview link
npx orchapp screenshots      # simulator screenshots
npx orchapp connect-apple    # link your App Store Connect API key (once)
npx orchapp ship             # sign and upload to TestFlight

Plans

The AI work runs on your own Claude or OpenAI plan; Orchard only charges for Mac build time and browser previews.

FreePro, $19/monthMax, $49/month
Mac minutes1 build (up to 2 minutes), once300 a month1,000 a month
Browser preview minutes30 seconds, once100 a month400 a month
TestFlight and App Store submissionnoyesyes

Pro and Max can top up: 100 Mac minutes for $5, 30 preview minutes for $5. Top-ups last until used. npx orchapp account (or the account tool) shows what is left; orchard upgrade, orchard topup and orchard billing open Stripe pages.

Shipping to TestFlight

You need an Apple Developer Program membership. connect-apple opens a page where you upload an App Store Connect API key with the Admin role; it is stored encrypted and used only for your builds. Orchard registers the bundle ID and creates a distribution certificate and profile on your account. Apple does not allow creating the App Store Connect app record through its API, so the first time you ship an app you create that record once by hand; Orchard tells you exactly what to pick.

Apps with extensions (widgets, share sheets) cannot be shipped yet.

What Orchard sends and keeps

To compile your app, Orchard uploads your project folder (as a .tar.gz) to api.orchapp.dev, which runs the build on a Mac and sends back errors, screenshots and preview links. That is the only host the plugin talks to.

  • Credential files (*.p8, *.p12, *.mobileprovision, .env*, SSH keys and similar) are never uploaded, and build output, .git and dependencies are left out.
  • Your source is deleted from the server and the Mac as soon as each build finishes. Build logs and screenshots are kept with your account.
  • Previews upload the compiled app to Appetize so you can try it in a browser.
  • Your prompts and conversation are never sent. There is no analytics or tracking.
  • An Apple API key, if you link one, is entered on orchapp.dev, never through the agent, and stored encrypted.

Full details: PRIVACY.md.

Licence

The plugin files in this repository are MIT licensed. The Orchard service is not open source.

NPM
orchapp
Install Command
npm install orchapp

Remote