Duolith docs

Errors E0400 to E0499

E0485 Build number a store already has

Message app.build build is not above last, the build number of file

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Each upload to a store needs a build number above the last one it took (CFBundleVersion on iOS, versionCode on Android). duolith ship keeps every store file it makes in dist-ship/<platform>/, named <id>-<version>-<build>, so a build number that is not above the highest there is known before anything is built. duolith build and duolith dev warn; duolith ship refuses it.

How to fix it

Raise app.build in duolith.yaml above the number the message names, such as from 12 to 13.

In a terminal

duolith explain E0485

Mentioned in