r/iOSDevelopment • • Aug 06 '26

Live app developers - How do you handle client/server updates while in review?

Currently working on an iOS multiplayer game, both client and server. Recently launched - not a huge number of players, but they're active enough that I don't want to interrupt for longer than seconds/minutes.

Now preparing for an update that breaks live client functionality (server and client mismatch because of new/changed features). We have a basic versioning system where the server rejects major.minor version differences. This would be fine if I could send out client updates freely.

However, new builds must be reviewed by Apple which can take days. The production server must be updated for the reviewer to test it, but players don't have access to an updated client. Essentially pushing the cart before the horse.

Is there a trick to handling updates like this?

PS: I've got two servers running, a sandbox server and production - with sandbox being compatible with the new build.

4 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/Landeplagen Aug 08 '26

I ended up using a mix of feature flags and version checking for the various features. We do support hard version checking (if server minor version is higher than client, displays a "please update" message), but I wanted to avoid this because the current client doesn't automatically send people to the app store. Don't want to lose players because they don't know how to update.

I realized that the production server always needs to be forward compatible with the next build version for the review process not to interfere with the live build.

Our users might take weeks to get up to speed with the latest client build, which can be tricky when adding new gameplay features. I suppose we could add game versioning, and display a message when someone tries to join a game created with a newer client.

Example:
Our project is a word game, and we recently added blank tiles. The live client doesn't support blank tiles, so here we are using a feature flag. On game create we check the flag - if it's false, no blank tiles are added to the tile bag. When a signifact portion of the player base have updated, we'll bump up the server version to lock old clients out, and then flip the feature on.