iTranslated by AI
[iOS] How I Accidentally Auto-Released the Latest Build
Introduction
This is a brief story of a small mistake I made when publishing an app to the App Store, or rather, an introduction to some Tips that make perfect sense when you think about it.
Specifically, what happened was that when publishing an updated version of an iOS app to the store, I should have followed these steps:
- Pass the app review by Apple
- Decide whether the final release is ready
- Execute the release
Instead, I ended up doing:
- Pass the app review by Apple
- Execute the release
This was no time to be tweeting nonchalantly...
Release Settings are Carried Over
The cause was simple: the "Version Release" setting for the version I was trying to release (let's call it version β) was set to "Automatically release this version."
Every app must undergo Apple's review before being published on the store, but with this setting enabled, the behavior becomes "automatically proceed to the release process after passing the review."
This "Version Release" setting actually defaults to the value carried over from the previous release.
The previous version (let's call it α) was released at the end of the year when it was difficult for stakeholders to gather, and since it was a minor fix, I had set it to automatic release. I had forgotten that, and version β was released with that same setting.
Since α was my first time using the automatic release, I messed up because "I completely forgot that the setting value would be carried over + my procedure didn't involve checking each value in detail during the release."
If this had been a major update involving server-side changes, the app could have been released on its own and caused bugs, which would have been a fairly serious issue.
*In this case, it was a minor fix contained within the app, so no harm was done.
Public distribution can also be revoked
It seems that you can set the number of distribution countries to zero or submit a withdrawal request, but I did not use those options this time.
If you take such measures, you will need to promptly submit a corrected version of the app.
Future Countermeasures
Originally, I had created a kind of checklist for releases, but it mainly focused on source code level checks, such as "is the version information inside the project correct?" and "is the referenced environment the production environment?"
I decided to add items like "precautions when publishing to the store" to include verification points from the App Store and Google Play Store dashboards when making an app public.
It's a basic step, but I re-recognized the importance of explicitly documenting these things, as I had been working based on habit.
Summary
In this article, I introduced an incident where I accidentally performed an automatic release when releasing an app to the App Store.
Fortunately, it didn't lead to a major issue, but since it could have caused large-scale defects if things had gone wrong, please don't forget that such cases can occur if you are planning to release an app on the App Store.
Discussion