--dry-run; start with read-only commands such as appship status.
Set up with an AI agent
Paste one of these prompts into Claude Code, Codex, Antigravity, Cursor or any other AI coding agent opened at your project root. The agent installs and configures appship, then stops and asks you whenever a decision is yours. appship never calls an AI itself: the prompts are plain text, and the agent runs on your own account.
- The agent never writes to a store unless you ask, and runs
--dry-runfirst. It adds--yesonly after you approved the dry run, because an agent’s terminal cannot answer appship’s confirmation prompts. - It never opens, prints or commits key files. You add the keys yourself with
appship credentials add. - It does not commit or push. Still read every command before you allow it.
The prompts are in English so that every agent reads them the same way. The agent replies in the language you write in.
Set up a project
Once per project, even on a machine without fastlane or appship. It covers steps 2 to 6 of this guide; creating the store keys stays with you.
Set up appship-ai in this project so I can release it to the App Store and Google Play.
appship is a CLI that wraps fastlane. Guide: https://appship.ketchsoft.com/docs.html
1. Check node (22+), fastlane and appship (`appship --version`). Tell me what is missing and ask before installing anything globally (`brew install fastlane`, `npm i -g appship-ai`).
2. Run `appship init --yes --agents <you>` at the project root, where <you> is claude, codex or antigravity (the agent you are; use claude if none fits). Compare release/release.yml with the project (build_command, artifact paths, bundle id, package name), fix what is wrong and tell me what you changed.
3. Store keys: tell me what I need (App Store Connect API key, Google Play service account JSON) and how to create them, following "Get store keys" in the guide. I will run `appship credentials add <profile>` in my own terminal. Then set credentials.profile in release.yml.
4. Fill the store content with the skills that init installed: app-content for release/questionnaire.yml, the listing text in release/*/metadata, then store-screenshots. If the skills are not loaded in this session, read their SKILL.md files in .claude/skills/ or .agents/skills/ and follow them. If the app is already live, ask me whether to run `appship metadata pull` first. Ask me for anything the code cannot tell you; leave contacts, demo accounts and passwords as TODO until I give them.
5. Run `appship doctor` and fix until there is no ✗. List the remaining warnings (!).
6. Finish with a short summary: what is done, what I still have to do by hand, and the next command to run.
Rules:
- Never run a command that writes to a store (upload, metadata push, submit, promote, first-release, signing import, header) unless I ask. Then run it with --dry-run first and wait for my OK. Add --yes only after I approved the dry run in this chat.
- Never open, print, copy or commit key files (*.p8, *.p12, *.jks, *.keystore, service account JSON) or anything in release/keys/.
- Do not commit or push.
- Reply in the language I write in.
Set up CI (GitHub Actions)
Once the project has release/release.yml. It adapts the workflow from Run it in CI and lists the secrets to add.
Set up GitHub Actions to release this project with appship-ai. The project already has release/release.yml.
Guide: https://appship.ketchsoft.com/docs.html#ci
1. Start from https://raw.githubusercontent.com/ketchstudio/appship-ai/main/examples/github-actions.yml. Save it as .github/workflows/release.yml and adapt it to this project: platforms, toolchain setup, build steps, Android keystore, and the iOS signing method in use (fastlane match, files from the account owner with `appship signing import --keychain`, or automatic signing).
2. Keep `appship doctor` as the first appship step. Store-writing steps need --yes in CI; keep submit behind the manual `submit` input.
3. List every secret I must add in Settings → Secrets and variables → Actions, with the command that produces each value (for example `base64 -i AuthKey_XXXX.p8 | pbcopy`). I add the secrets myself. Never read or print key files and never write a key value into a file.
4. Creating the iOS app and uploading App Privacy need an Apple ID with 2FA and cannot run in CI. If this project still needs them, tell me to run them locally once.
5. Show me the final workflow and the list of secrets. Do not commit or push until I say so.
Reply in the language I write in.
Every release
Bumps the version, writes the release notes in every language, dry-runs the upload, and stops for your OK.
Prepare a new release of this project with appship-ai (already set up in release/).
1. Find the current version and build number (pubspec.yaml, build.gradle, the Xcode project or Info.plist, package.json: whatever this project uses) and read the git log since the last tag. Propose the next version and build number, and change them once I agree.
2. Write the release notes for every locale with the release-notes skill (read its SKILL.md in .claude/skills/ or .agents/skills/ if it is not loaded).
3. Run `appship doctor` and fix the errors.
4. Run `appship upload --build --dry-run`, show me what would be sent, and stop.
When I approve, run `appship upload --build`. When I later ask to submit, run `appship submit --dry-run` first and wait for my OK again. Add --yes only after I approved the dry run in this chat. Never open or print key files. Do not commit or push unless I ask.
Reply in the language I write in.
iOS signing without owner access
When the account owner gave you a .p12 and provisioning profiles. Background: iOS signing without owner access.
Set up iOS code signing for this project with appship-ai. I am not the account owner; the owner gave me a .p12 (Apple Distribution certificate) and App Store .mobileprovision files.
Guide: https://appship.ketchsoft.com/docs.html#not-owner
1. Ask me where the files are. They must be inside release/keys/ (gitignored); tell me to move them there if they are not. Do not open, print or copy them yourself.
2. Add an ios.signing block to release/release.yml (style: manual, certificate, profiles: one per bundle id, including extensions).
3. Change ios.build_command so the build uses "$APPSHIP_EXPORT_OPTIONS" (for Flutter: --export-options-plist="$APPSHIP_EXPORT_OPTIONS"; for xcodebuild/gym: the matching export options flag).
4. Run `appship signing import --dry-run` and show me the result. I will run the real import in my own terminal, because it asks for the .p12 password.
5. Run `appship doctor` and explain every signing error or warning (profile type, expiry, team, bundle id, certificate in the keychain).
Never commit anything in release/keys/. Do not commit or push unless I ask. Reply in the language I write in.
1Requirements
| You need | Notes |
|---|---|
| Node.js 22 or newer | appship is an npm package. |
| fastlane | appship runs fastlane for every store call. Install it the way the fastlane docs recommend for your machine. |
| macOS with Xcode | Only for iOS builds and uploads. Android-only projects also work on Linux. |
| Apple Developer Program | 99 USD a year. |
| Google Play Console account | 25 USD, one-time. |
| An app that builds a signed release | appship does not sign for you. See Signing. |
2Install
Install appship once per machine, globally. Nothing gets added to your app's package.json.
npm i -g appship-ai
appship --version
The package is called appship-ai and installs the appship command. To try it without installing, run npx appship-ai --help.
3Get store keys
You do this once per developer account, not per project. Both keys can publish builds under your name, so never commit them to git.
iOS: App Store Connect API key
- In App Store Connect, open Users and Access → Integrations → App Store Connect API.
- Under Team Keys, click +. Name it
appshipand give it the App Manager role. - Download
AuthKey_XXXXXXXXXX.p8. Apple lets you download it only once. - Note the Key ID (10 characters, also in the file name) and the Issuer ID (the UUID above the key table).
Team Keys can only be created by an Account Holder or Admin. If that isn't you, ask the owner to send the key, or see iOS signing without owner access for an individual key.
An Apple ID (email) is optional. It is only needed to create the app record and upload App Privacy answers, because Apple's API key can't do either. It needs 2FA, so it never works in CI.
Android: Google Play service account
- In Google Cloud Console, pick a project and enable the Google Play Android Developer API.
- Go to IAM & Admin → Service Accounts → Create service account. It needs no GCP role.
- Open the account, then Keys → Add key → JSON to download the key file.
- In Play Console, go to Users and permissions → Invite new users and invite the
client_emailfrom the JSON. Grant Release apps to testing tracks, Release to production and Manage store presence. - Wait a few minutes for the permissions to apply. On a new account it can take up to 24 hours.
Save them as a profile
A profile copies the keys to ~/.appship/credentials/<name>/ with mode 600, so every project on this machine can share them. Run it without flags to be asked step by step.
appship credentials add my-company \
--asc-key ~/Downloads/AuthKey_ABC123DEFG.p8 \
--asc-key-id ABC123DEFG \
--asc-issuer-id 69a6de7a-0000-0000-0000-000000000000 \
--play-json ~/Downloads/play-service-account.json
appship credentials list
4Set up the project
Run init from the root of your app repo.
cd ~/Projects/my-app
appship init --profile my-company
init detects Flutter, React Native, Cocos Creator or native projects, reads your bundle id and package name, and fills in the build command and artifact path. It creates this folder and adds release/keys/* and release/.appship/ to .gitignore:
my-app/
└── release/
├── release.yml # ids, artifacts, build commands, tracks, credentials
├── questionnaire.yml # answers to store questions
├── ios/metadata/<locale>/*.txt
├── ios/screenshots/<locale>/*.png
├── android/metadata/<locale>/{*.txt, images/}
├── keys/ # gitignored; only if you don't use a profile
└── .appship/ # gitignored; scratch files for fastlane
Open release/release.yml and check artifact and build_command for each platform. For a Flutter app it looks like this:
app:
name: "My App"
primary_locale: en-US
ios:
bundle_id: com.example.myapp
artifact: "build/ios/ipa/*.ipa"
build_command: "flutter build ipa --release"
upload_screenshots: true
submit:
automatic_release: false # release as soon as Apple approves
phased_release: false # 7-day phased rollout
android:
package_name: com.example.myapp
artifact: "build/app/outputs/bundle/release/*.aab"
build_command: "flutter build appbundle --release"
track: internal # internal | alpha | beta | production
release_status: completed # draft while the app is unpublished
rollout: 1 # 0.2 = 20% staged rollout
credentials:
profile: my-company
Commit the whole release/ folder except keys/ and .appship/. Your repo gets no Fastfile: the release logic stays in appship, so updating appship updates every project.
5Fill in the listing
If the app is already live, pull the current listing instead of typing it:
appship metadata pull
Otherwise, replace every TODO in these files:
release/questionnaire.yml: age rating, export compliance, content rights, reviewer contact, App Privacy, and the Android App content answers.- Text:
release/ios/metadata/<locale>/*.txtandrelease/android/metadata/<locale>/*.txt. - Release notes per language: one folder per locale. See Languages and release notes below.
- iOS screenshots in
release/ios/screenshots/<locale>/: at least one iPhone 6.9" set (1320×2868) or 6.5" set (1284×2778). - Android images in
release/android/metadata/<locale>/images/:icon.png512×512,featureGraphic.png1024×500, and at least 2 images inphoneScreenshots/.
Languages and release notes
Both stores take a separate "What's New" text for every language. Each language is a folder, and each folder holds its own release notes:
| Store | File, one per locale folder | Max |
|---|---|---|
| App Store | release/ios/metadata/<locale>/ | 4000 characters |
| Google Play | release/android/metadata/<locale>/ | 500 characters |
To add a language:
- List it in
release.yml. The list is optional; without it appship uses every folder it finds. iOS and Android use different locale codes, so each platform has its own list:release/release.ymlios: locales: [en-US, vi, ja] android: locales: [en-US, vi, ja-JP] # Play codes differ, e.g. zh-CN here, zh-Hans on iOS - Create the folder, for example
release/ios/metadata/vi/, and fill in the required files:name.txt,description.txt,keywords.txt,support_url.txt,privacy_url.txtandrelease_notes.txton iOS;title.txt,short_description.txt,full_description.txtandchangelogs/default.txton Android. - Add iOS screenshots to
release/ios/screenshots/<locale>/. Enable the language in Play Console first for Android. - Run
appship doctor. A listed locale with no folder is an error. A folder that is not listed is a warning, because it is still pushed to the store.
Things to know:
- You don't need to add the language in App Store Connect first. It is created when the metadata is pushed.
- Leave
release_notes.txtempty for the very first version of an app. Apple does not accept release notes on version 1.0. - A locale without release notes shows an empty "What's New" in that language.
doctorwarns when some locales have notes and others don't. - iOS folder names must be one of Apple's codes, such as
en-US,vi,ja,ko,de-DE,fr-FR,es-ES,pt-BR,zh-Hansorzh-Hant.doctorrejects anything else, for examplezh-CN. - fastlane's shared
defaultfolder is not supported yet.
Suggested languages
Not sure which languages to add next? appship suggests six with large audiences: Spanish (Spain and Latin America), Brazilian Portuguese, German, French, Japanese and Korean. The two stores use different codes:
| Language | --locales id | iOS folder | Android folder |
|---|---|---|---|
| Spanish, Spain | es | es-ES | es-ES |
| Spanish, Latin America | es | es-MX | es-419 |
| Portuguese, Brazil | pt-BR | pt-BR | pt-BR |
| German | de | de-DE | de-DE |
| French | fr | fr-FR | fr-FR |
| Japanese | ja | ja | ja-JP |
| Korean | ko | ko | ko-KR |
- Create the folders when you set up a project:
appship init --locales presetfor all six, or--locales es,jafor some. It writeslocalesfor each platform with the right codes and creates listing files filled withTODOfor you to translate.doctorfails until everyTODOis replaced. - For a project that already exists, add the folders by hand with the codes above (
init --forcewould rewriterelease.yml). - Keep only the Spanish variant you will really write.
es-MXon iOS andes-419on Play cover all of Latin America. - Store limits count characters, not bytes or words. Japanese and Korean text is usually shorter than English; German and French run longer and often hit the 30-character title limit.
- Enable each language in Play Console before uploading.
doctorwarns about an Android folder that is not a Play language code and suggests the fix, for examplejashould beja-JP. - The
release-notesskill knows each language's conventions: formal or informal address, regional variants, Japanese full-width punctuation and French spacing before? ! : ;.
Write release notes with an AI coding agent
appship init installs a skill, release-notes, for your AI coding agent (Claude Code, Codex or Antigravity): into .claude/skills/ for Claude Code, .agents/skills/ for Codex and Antigravity. Before a release, ask the agent to "write the release notes for this version" (or run /release-notes in Claude Code, $release-notes in Codex). It will:
- Read
release.ymland the locale folders. - Read
git logsince the last tag, andCHANGELOG.mdif you have one. - Write short, user-facing notes in your primary language and translate them into every other locale.
- Fit the store limits, write the files, then run
appship doctor.
The notes stay plain files, so you can review and edit them. The skill asks before overwriting text that is already there, and it never pushes anything to a store.
Screenshots and store declarations with an AI agent
init installs two more skills next to it. Like release-notes, they only write files in release/, run appship doctor, and leave pushing to you.
store-screenshots: plans the shots with you, captures them from the iOS Simulator or an Android emulator, adds a translated headline per language, and renders every image at a size each store accepts (iPhone 6.9" 1320×2868, iPad 13" when the app runs on iPad, Play 1080×1920), plus the Play icon and feature graphic.app-content: fillsrelease/questionnaire.yml(age rating, App Privacy, export compliance, Data safety, content rating, target audience, ads, app access) from your dependencies, permissions and code, asks you what the code cannot show, and keeps the answers consistent between the two stores.
| Agent | Skill folder | How to run |
|---|---|---|
| Claude Code | .claude/skills/ | /store-screenshots |
| Codex | .agents/skills/ | $store-screenshots or /skills |
| Antigravity | .agents/skills/ | ask "use the store-screenshots skill" |
appship never calls an AI itself. Open the agent at the project root, signed in with your own account, and approve the commands it asks to run.
Choose the agents when you run init, or install and update the skills later, for example after upgrading appship:
appship init --agents all # skills for Claude Code, Codex and Antigravity
appship skills # which skills each agent has
appship skills add --agent codex # install for Codex / Antigravity (.agents/skills/)
appship skills add --force # replace them with this version
6Check with doctor
doctor checks tools, config, keys, artifacts, character limits, image sizes and placeholder text, and fails if a key file is tracked by git. Repeat until there are no ✗. A ! is a warning and does not block a release.
▸ Security
✓ No key files tracked by git
✓ .gitignore protects release/keys/
▸ iOS · store listing
✗ ios/metadata/en-US/subtitle.txt is 34 characters (max 30)
▸ Android · store listing
✓ Metadata OK for en-US
✗ 1 error(s), 0 warning(s)
7First release
appship build
appship first-release --create-app
- iOS: creates the app in App Store Connect (needs the Apple ID and may ask for a 2FA code), then pushes the listing, screenshots, age rating, review info and App Privacy.
- Android: Google Play has no API to create an app, so appship prints the steps instead.
- Both write
release/CHECKLIST.md: the console steps that must be done by hand, with your answers fromquestionnaire.ymlready to copy.
On Google Play, follow the checklist to:
- Create the app in Play Console.
- Invite the service account to the app.
- Upload the first
.aabby hand to Internal testing. - Fill in the App content section.
While the Android app has never been published, set release_status: draft in release.yml. New personal developer accounts also need a closed test with 12 testers for 14 days before production.
Then finish the first release:
appship metadata --android
appship upload
appship submit
8Every release after
Bump the version and build number in your project, then:
# ask your AI agent to write the release notes (see Languages and release notes)
appship upload --build # build, then TestFlight + Google Play track (internal by default)
# test on TestFlight / the internal track
appship submit # iOS: App Review · Android: promote to production
appship status # review state and versions on both stores
For a staged rollout on Android:
appship submit --android --rollout 10%
appship promote --from production --to production --rollout 50%
appship promote --from production --to production --rollout 100%
Every command that writes to a store asks for confirmation first. Add --dry-run to see exactly what would be sent.
9Run it in CI
In CI, keys come from secrets through APPSHIP_* environment variables, and every write command needs --yes. Add these repository secrets (in GitHub: Settings → Secrets and variables → Actions):
| Secret | Value |
|---|---|
APPSHIP_ASC_KEY_ID | Key ID |
APPSHIP_ASC_ISSUER_ID | Issuer ID |
APPSHIP_ASC_KEY | Output of base64 -i AuthKey_XXX.p8 |
APPSHIP_PLAY_JSON | Output of base64 -i play-service-account.json |
| Signing secrets | Depends on how you sign, for example MATCH_PASSWORD for fastlane match, or an Android keystore in base64 |
The release steps of a GitHub Actions workflow:
env:
APPSHIP_ASC_KEY_ID: ${{ secrets.APPSHIP_ASC_KEY_ID }}
APPSHIP_ASC_ISSUER_ID: ${{ secrets.APPSHIP_ASC_ISSUER_ID }}
APPSHIP_ASC_KEY: ${{ secrets.APPSHIP_ASC_KEY }}
APPSHIP_PLAY_JSON: ${{ secrets.APPSHIP_PLAY_JSON }}
jobs:
release:
runs-on: macos-latest # iOS builds need macOS
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22 }
# ...your toolchain, fastlane and signing setup...
- run: npm i -g appship-ai
- run: appship doctor --skip-artifacts
- run: appship upload --build --yes
- if: ${{ inputs.submit }}
run: appship submit --yes
Add your own Flutter setup, signing step and, if you want a manual trigger for submit, a workflow_dispatch input like the one above.
- Creating the iOS app and uploading App Privacy need the Apple ID with 2FA. Do those once on your machine, not in CI.
- To pin a fastlane version, use a Gemfile and set
APPSHIP_FASTLANE="bundle exec fastlane". - Try the pipeline end to end with
--dry-runbefore letting it push anything.
Reference
Signing
appship doesn't build or sign your app. It runs your build_command and picks up the signed artifact.
- iOS: the simplest setup is Automatic signing in Xcode (Signing & Capabilities). For teams and CI, use fastlane match.
- Android: create an upload keystore, configure
signingConfigsin Gradle, and turn on Play App Signing with the first upload. Keep the keystore out of git, for example in the gitignoredrelease/keys/.
iOS signing without owner access
On iOS, signing the app and uploading it need different things, and both are usually held by the Account Holder or an Admin. appship still doesn't build or sign for you. It audits the files you were given, installs them, and passes the signing setup to your build command.
| Your situation | Sign with | Upload with |
|---|---|---|
| Account Holder or Admin | Automatic signing, or fastlane match | Team API key |
| Owner sent signing files and a team API key | ios.signing files | Team API key |
| Owner sent signing files, no API key | ios.signing files | Your own individual API key |
| No API key at all | ios.signing files | Transporter or Xcode Organizer, by hand |
| Owner sent only an API key | Ask for a certificate and profile, or Xcode automatic signing if your role allows it | API key |
Ask the owner for
- An Apple Distribution certificate as
.p12, exported from Keychain Access with a password. It must include the private key. - An App Store provisioning profile (
.mobileprovision) for each bundle id, including app extensions. - Optionally a team API key:
.p8, Key ID and Issuer ID.
To avoid moving a private key around, create a certificate signing request on your own Mac and have the owner issue the certificate from it. Then the private key never leaves your machine, and you don't need the .p12.
Configure and install
ios:
bundle_id: com.example.app
team_id: ABCDE12345
build_command: 'flutter build ipa --release --export-options-plist="$APPSHIP_EXPORT_OPTIONS"'
signing:
style: manual
certificate: release/keys/AppleDistribution.p12
profiles: [release/keys/AppStore.mobileprovision]
APPSHIP_P12_PASSWORD=... appship signing import # install profiles, import the .p12
appship build --ios
appship doctor # audit the profiles, keychain and the built .ipa
appship upload --ios
The .p12 password is never stored in release.yml; pass it in APPSHIP_P12_PASSWORD. The build command receives $APPSHIP_EXPORT_OPTIONS (a generated ExportOptions.plist), $APPSHIP_IOS_BUNDLE_ID and $APPSHIP_IOS_TEAM_ID. For fastlane gym use --export_options "$APPSHIP_EXPORT_OPTIONS". The plist controls the export step only; with manual signing, also turn off automatic signing in the Xcode project so the archive step uses the same profile.
What doctor checks
- Each profile is an iOS App Store profile, not expired (a warning under 30 days), from the team in
ios.team_id, and coversios.bundle_id. - The
.p12exists and is not world-readable, and a matching certificate with its private key is in the keychain (macOS only). - The built
.ipais signed for the right bundle id, with a valid profile fromios.signing.profiles. build_commandactually uses$APPSHIP_EXPORT_OPTIONS.
No team API key
- Individual key: in App Store Connect, Integrations → Individual Keys. It has no Issuer ID, so leave
issuer_idempty:appship credentials add my-key --asc-key AuthKey_XXX.p8 --asc-key-id XXXXXXXXXX. It carries your own role's permissions, and an Admin can turn the feature off. Not yet verified against a real account. - No key at all: sign and build the same way, then upload the
.ipawith Transporter or Xcode → Organizer → Distribute App.doctorstill audits the file first. appship doesn't upload with an Apple ID, since that needs interactive 2FA.
In CI
- run: |
mkdir -p release/keys
echo "$P12_B64" | base64 --decode > release/keys/AppleDistribution.p12
echo "$PROFILE_B64" | base64 --decode > release/keys/AppStore.mobileprovision
env: { P12_B64: ${{ secrets.IOS_DIST_P12_BASE64 }}, PROFILE_B64: ${{ secrets.IOS_PROFILE_BASE64 }} }
- run: appship signing import --yes --keychain "$RUNNER_TEMP/appship.keychain-db"
env:
APPSHIP_P12_PASSWORD: ${{ secrets.IOS_DIST_P12_PASSWORD }}
APPSHIP_KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
This creates a dedicated keychain, so the runner's login keychain is untouched. Profiles and certificates expire after about a year; doctor warns 30 days before.
Roles differ in what they may do; check the role table in App Store Connect Help. Apple's screens change, so treat the steps as of 09/2026.
Where keys are read from
For each value, the first source found wins. You can mix them, for example a profile on your machine and environment variables in CI.
- Environment variables:
APPSHIP_ASC_KEY_ID,APPSHIP_ASC_ISSUER_ID,APPSHIP_ASC_KEY_PATHorAPPSHIP_ASC_KEY(contents, plain or base64),APPSHIP_APPLE_ID,APPSHIP_PLAY_JSON_PATHorAPPSHIP_PLAY_JSON, andAPPSHIP_PROFILE. release/release.yml: paths to files in the gitignoredrelease/keys/. Key ID and Issuer ID are not secrets and can be committed.- A profile:
credentials.profile: my-company, pointing to~/.appship/credentials/my-company/.
credentials:
ios:
key_id: ABC123DEFG
issuer_id: 69a6de7a-0000-0000-0000-000000000000
key_path: release/keys/AuthKey_ABC123DEFG.p8
apple_id: you@example.com # optional
android:
json_key_path: release/keys/play-service-account.json
If a key gets committed
- Revoke it right away. iOS: App Store Connect → Integrations → Revoke. Android: Cloud Console → the service account → Keys → Delete.
- Create a new key and update your profile or CI secrets.
- Run
git rm --cached <file>. The key stays in git history, which is why revoking it is the step that matters.