Skip to content

Requirements

Start with the check. It tells you exactly what is missing and prints a command to fix each problem.

Terminal window
npx rn-shipyard doctor

Run it from your Expo project root. It needs no install and changes nothing.

All-pass groups collapse to one line. Only groups with something to say are expanded. This run has one warning:

rn-shipyard doctor
✓ System (6 checks passed)
✓ iOS (4 checks passed)
Android
✓ JDK 17+ 25.0.1
✓ JAVA_HOME not set; Gradle uses java from PATH (25.0.1)
✓ ANDROID_HOME points to the Android SDK ~/Library/Android/sdk
✓ SDK platform-tools and build-tools build-tools 37.0.0
✓ keytool available
✓ /bin/sh keeps env vars with dots needed to pass signing passwords to Gradle
Project
✓ Expo project (package.json depends on expo) expo ~54.0.0
! No plaintext EAS credentials left over a build has worked, but these still hold your signing keys/passwords in plaintext: credentials.json (git-ignored), credentials/ (git-ignored)
Fix: Once your signing is safely in Match / ~/.config/rn-shipyard (rn-shipyard never deletes these): rm -r -- credentials.json credentials/
✓ Signing & submit (4 checks passed)
Ready: iOS build, Android build, Android submit
Not ready: iOS submit (no .ipa yet: run `rn-shipyard build --platform ios`)
Next step: Nothing blocks you (1 warning above). Run `rn-shipyard build`.

And a project that is not ready yet:

Project
✗ eas.json not found
Fix: npx eas-cli build:configure (creates eas.json; rn-shipyard only reads it)
Docs: https://github.com/lamazzing/rn-shipyard#migrating-from-eas
✗ rn-shipyard set up (.shipyard/config.json) not found: signing is not set up yet
Fix: rn-shipyard init
Docs: https://github.com/lamazzing/rn-shipyard#init
Not ready: iOS build (2 problems), iOS submit (2 problems), Android build (2 problems), Android submit (2 problems)
Next step: Fix the 2 items marked ✗ above, then run `rn-shipyard doctor` again.

How to read it:

  • ✓ is fine, ! is a warning that does not block, ✗ blocks that action.
  • Each problem has a copy-paste Fix: line underneath, and usually a Docs: link.
  • The summary lists which of the four actions are ready (iOS build, Android build, iOS submit, Android submit) and which are not, with a problem count.
  • The last line is the one thing to do next.
CodeMeaning
0No problems. Warnings alone do not fail the check
1At least one ✗
2The only thing missing is project config (for example .shipyard/config.json)

rn-shipyard build, rn-shipyard submit and rn-shipyard init run the relevant checks first, before any prompt or long step. They stop with REQUIREMENTS_NOT_MET (exit 1) if something blocks them, or MISSING_CONFIG_PROJECT (exit 2) when only project config is missing, so you do not find out ten minutes into a build. Warnings are printed and never block. With --json the output is the same document as doctor --json, with success: false and an error.

  • The pre-flight makes no network calls. It leaves out the Match repo reachability check (doctor does it) and the App Store Connect credentials check (submit checks credentials itself).
  • init leaves out the checks for what it creates: .shipyard/config.json, eas.json and the whole Signing & submit group.
  • build and submit accept --skip-checks to bypass it. submit --dry-run does not run it.
  • Without MATCH_PASSWORD and without a Match passphrase in the macOS keychain (match_<git url>), an interactive iOS build gets a warning; with --non-interactive, --json or CI set it is a blocking problem.
  • Android builds need a keystore password in ANDROID_KEYSTORE_PASSWORD or the credentials file.

Check one platform only, or get JSON:

Terminal window
rn-shipyard doctor --platform android
rn-shipyard doctor --json
AreaToolNeeded for
SystemmacOS (a warning below macOS 13)everything. The package declares os: darwin
SystemNode.js 22.12 or newerrunning rn-shipyard
SystemgitiOS builds (Match stores certificates in a git repo)
SystemRuby 2.7 or newerFastlane. Not needed if Fastlane comes from Homebrew, which bundles its own Ruby
SystemFastlaneiOS and Android builds, submits
SystemXcode command line toolseverything
iOSXcode new enough for your Expo SDK (26.4 for SDK 56 to 58, 26.2 for SDK 55, 16.1 for SDK 54, 16.0 for SDK 53; a newer SDK than these is assumed to need at least 26.4, as a warning), selected with xcode-select, license acceptediOS builds. Only build stops when Xcode is too old for the Expo SDK; init and submit need just Xcode 15 or newer
iOSCocoaPodsiOS builds
AndroidJDK 17 or newer. JAVA_HOME may be unset when java on PATH is JDK 17+ (Gradle uses $JAVA_HOME/bin/java if set, else java from PATH); warning only if neither worksAndroid builds
AndroidAndroid SDK (ANDROID_HOME, ANDROID_SDK_ROOT, android/local.properties or ~/Library/Android/sdk) with build-tools and platform-toolsAndroid builds
AndroidkeytoolAndroid builds, keystore generation
Android/bin/sh keeps variables with dots in their nameGradle signing passwords
Projectpackage.json depends on expo, dependencies installed, app.json or app.config.*, eas.json, .shipyard/config.jsonall commands
Signing & submitMatch password and certificates repo, App Store Connect login, Android keystore, credentials file and password, Play service-account keysigning and submit, for the platforms you configured

If doctor shows gaps, these are the usual fixes.

Terminal window
xcode-select --install # command line tools. Install Xcode itself from the App Store
brew install fastlane # brings its own Ruby
brew install cocoapods
brew install openjdk # JDK and keytool

For the Android SDK, install Android Studio or the command line tools, then set ANDROID_HOME (usually ~/Library/Android/sdk) in your shell profile.

Next: Install rn-shipyard.

rn-shipyard is an independent open-source project, not affiliated with or endorsed by Expo. Expo and EAS are trademarks of 650 Industries, Inc.