DEV Community

Cover image for I let Claude Code run an app release into three stores. Here is what broke.
Sergey Mochalin
Sergey Mochalin

Posted on Edited on Originally published at asomap.com AI-assisted

I let Claude Code run an app release into three stores. Here is what broke.

I make a small calorie-tracking app, Food Energy. It is in the App Store, Google Play and RuStore, and every update means pasting the same "What's New" into three consoles: 17 languages in one, 24 in another. More than forty text fields for three lines of release notes.

I've been building an ASO tool, ASOMap, with Claude Code, and it has an MCP server. Version 1.2.8 was the first update I shipped through it from start to finish, with Claude doing the translations and the routine. This is what went in, what broke, and what stayed for a person.

What the release was

Store What went in The last step
App Store A new version with its build, What's New in 17 languages, two new languages (Swedish and Norwegian) with their texts and 36 screenshots Sent for review from ASOMap, on my go-ahead
Google Play What's New in 24 languages Pasted into Play Console as one block, next to the build
RuStore A draft of the new version with What's New and the short description Published by hand in RuStore Console after moderation

What Claude did

I gave it the release notes in English and asked for a release. It works through MCP tools, so each step is a call I can see.

  1. Asked which languages each listing has, instead of guessing them from the app's page. The App Store and Google Play use different language codes and my listings don't have the same set.
  2. Translated What's New into each of them and saved the result. The server answered with the languages that were missing or that the store doesn't have.
  3. Wrote the Swedish and Norwegian captions for the screenshot set and had the files rendered at the App Store's sizes.
  4. Showed what a write would change: per language and display, what is in App Store Connect now and what would replace it.
  5. Wrote after a yes. Nothing went to a store before I had read the preview.

What went wrong

It was the first real release through these tools, and it showed.

"Send for review" saved more than I asked. Every difference between my drafts and the store was ticked by default, so 14 changes to names, keywords and promo texts went into the version along with What's New. I noticed and put them back before review. Now only What's New is ticked from the start, and sending for review writes nothing by itself.

Apple refused the version without a reason. "This resource cannot be reviewed, please check associated errors." The reason was in errors[].meta.associatedErrors of the response: the two new languages had no support and privacy URLs. The tool now shows Apple's reasons per language and fills those links from the main language.

One emoji sank a whole language. Apple doesn't take emoji in a description, and a language's texts go in one request, so nothing was saved for it. Texts are now checked before they are sent, and the fields that are fine are written.

App Store Connect answered 500 now and then, and the step stopped. Such reads are now repeated.

Brazilian Portuguese screenshots were held back, mixed up with Portugal's. Each now goes to its own language.

What I took from it

A preview step isn't enough when the default selection is "everything". With an agent in the loop you skim the preview, so the defaults do the deciding. The fix wasn't a smarter agent, it was a narrower default: one kind of change ticked, the rest opt-in, and the irreversible button doing only what its label says.

The second thing: an agent is good at exactly the part of a release that people get wrong from boredom. Forty fields, two code spaces for languages, limits per store. It is bad at knowing that you didn't mean the keyword draft you left in the tool two weeks ago.

What stays for a person

  • Building the app and uploading the build to each store.
  • The yes before every write, and the decision to send for review.
  • Reading the translations in the languages you know.
  • The paste into Play Console and the Publish button in RuStore Console.

If you want to try it

ASOMap's MCP server is remote: add https://asomap.com/mcp in Claude, ChatGPT, Cursor or Codex and sign in; nothing is installed. There is an open Claude Code plugin with the release workflow and seven others. Keyword tracking has a free plan with limits; MCP and store writes are on the Pro and Team plans, and connecting an assistant through MCP gives 7 days of Pro with no card.

I'm the developer, so I'm curious: if you let an agent write to something that goes to review or production, do you approve each write or a plan once?

Top comments (12)

Collapse
 
xenoci_com profile image
xenoci.com •

The associatedErrors one is a classic. The top-level message is useless and the real reasons are nested, and it's the same pattern for missing age rating answers, a missing App Privacy section, or a build that's still processing. Surfacing meta.associatedErrors by default is one of the better fixes in that list.

A related trap you might hit later: when a version has a new language, Apple also expects screenshots for every required display size in that language, or it falls back silently in some places and refuses in others. Checking that each new locale has the full screenshot set before "send for review" saves a round trip.

Curious how you handle the build itself, does the agent pick which build is attached to the version, or is that always your call?

Collapse
 
sergey_mochalin profile image
Sergey Mochalin •

The build is always my call. The agent has no tool for it: I upload from Xcode, pick the processed build on the version's page, and the "send for review" button stays inactive until one is chosen. The agent's part ends at texts and screenshots.

Thanks for the screenshot trap. I didn't hit it because both new languages got the full set for iPhone and iPad in the same run, and the preview lists what each language and display has now. But nothing stops me from sending a version where a new language has an empty display, so a check for that before "send for review" is in the plans.

Collapse
 
xenoci_com profile image
xenoci.com •

That's a sensible split. Keeping the build pick manual also means the agent can never attach a build that's still processing or the wrong train.

For the empty-display check, the App Store Connect API gives it to you in three calls, so the agent can run it as the last step before you press the button:

  1. GET /v1/appStoreVersions/{id}/appStoreVersionLocalizations lists every locale on the version.
  2. For each, GET /v1/appStoreVersionLocalizations/{id}/appScreenshotSets returns one set per display type it has (APP_IPHONE_67, APP_IPAD_PRO_3GEN_129, ...).
  3. For each set, GET /v1/appScreenshotSets/{id}/appScreenshots and fail if it's empty, or if any screenshot's assetDeliveryState.state isn't COMPLETE. An upload that's still processing or FAILED looks fine in the list but blocks review.

Compare against the primary locale's display types rather than a hard-coded list. Then a new language missing iPad is caught, and an app that doesn't ship iPad at all doesn't false-alarm. One caveat: a set that exists but has 0 screenshots is the case Apple refuses. A set that doesn't exist at all may fall back to the primary language's screenshots, so report both separately rather than treating them the same.

Thread Thread
 
sergey_mochalin profile image
Sergey Mochalin •

This is more than I asked for, thank you. Two things in it I wouldn't have got to on my own: checking assetDeliveryState instead of trusting the list, and comparing against the primary locale's display types so an app with no iPad doesn't false-alarm.

The split between an empty set and a missing one is the useful part for the person reading the result: one is a refusal, the other is a silent fallback they may or may not want. I'll keep them as two separate lines when this check gets built.

Collapse
 
kenimo49 profile image
Ken Imoto •

This is exactly what I've been trying to do at work. Thanks for sharing!
Publishing Kindle editions across four languages taught me the same lesson the hard way: a release pipeline is a chain, and it's only as strong as its weakest link.
A single bad character set can quietly break metadata for an entire market the way your emoji issue did across locales.
Any step that writes directly to a live listing needs a preview diff in front of it.

Collapse
 
sergey_mochalin profile image
Sergey Mochalin •

Agreed, and the character set case is a good one: the store accepts the request and one market quietly ends up with nothing. The preview diff was there from the start for me. What it didn't save me from was its own default, with every difference ticked. So I'd add one thing to your rule: a preview diff in front of the write, and nothing selected in it until a person picks.

Collapse
 
himanshu_dhakar_65fcb1284 profile image
himanshu dhakar •

We approve each write. Anything that goes to a store or a repo waits for a person's OK on the exact values, and the approval is logged next to what actually ran.

The bug that taught us more was after the approval. One run published two store languages. Our record marked both as done, but only one of them was in the store. The other was stranded, and nothing went red. Now "done" for a store write is checked per language against what the store returns, not against our own log. Your emoji case is the same shape: one bad field and a whole language silently didn't save. Did you end up checking the store after the write, or only before it?

Collapse
 
sergey_mochalin profile image
Sergey Mochalin •

Both, but less strictly than you do. Each write comes back per language with "ok" or the store's own reason, and the preview is a fresh read of the store, so running it again after a write lists whatever still differs.

What I don't have is your rule as a rule: "done" decided only by reading the store back, per language. Two languages marked done with one stranded is exactly what a log-based "done" allows. A stricter check along those lines is in the plans, thanks.

Collapse
 
junfengzhou01 profile image
Junfeng Zhou •

Approving the plan once with the exact values, then stopping only on writes that differ from that plan, keeps routine releases fast while anything the agent changed along the way still gets a look.

Collapse
 
sergey_mochalin profile image
Sergey Mochalin •

That's close to where I ended up. The preview is the plan, the write recomputes it at the moment it runs, and I name the languages and fields I agreed to, so anything outside them isn't written. Stopping only on the difference is the part I'd like to get to: right now a changed value means a new preview instead of one question.

Collapse
 
chwaqarr profile image
Ch Waqar •

Haha the emoji breaking a whole language got me. Good warning before I try this myself.

Collapse
 
sergey_mochalin profile image
Sergey Mochalin •

It got me too, after the fact. If you try it: check what the store accepts per field before the write, and don't send a language's texts as one all-or-nothing request.