Game Center switch before submit: apple submit / resubmit and signing ensure create gameCenterDetails and gameCenterAppVersions when Game Center is in use (config, entitlements or the built IPA), shown in the dry run; validate blocks on either missing; fake 409 BUILD_INDICATES_GAME_CENTER_ENABLED until both exist; pitfall 89
This commit is contained in:
parent
dd9e059036
commit
163e666834
9 changed files with 152 additions and 26 deletions
|
|
@ -1087,3 +1087,16 @@ that fails without the fix (see CONTRIBUTING.md).
|
|||
- **Guard:** `cli/lib/game-services.ts` (validateGames, planGameCenter, planPlayGames, pgsFindings, gcFindings),
|
||||
`storebound scan` rule `pgs.manifest` / `pgs.app-id`, `cli/play/games.ts` (no 5xx retry of an insert),
|
||||
`tests/game-services.test.ts`.
|
||||
|
||||
## 89. Submit refused: 409 STATE_ERROR.BUILD_INDICATES_GAME_CENTER_ENABLED
|
||||
- **Symptom:** `apple submit` of a first version failed with 409 `STATE_ERROR.BUILD_INDICATES_GAME_CENTER_ENABLED`:
|
||||
"The build for this app store version has com.apple.developer.game-center entitlement but appStoreVersion is
|
||||
missing gameCenterConfigurations relationship". The build had the entitlement; the app had no Game Center detail.
|
||||
- **Do:** `storebound apple game-center --dry`, then without `--dry`: `POST /v1/gameCenterDetails` (app) when the
|
||||
app has none, then `POST /v1/gameCenterAppVersions` (appStoreVersion). The resubmit then passes. `apple submit` /
|
||||
`resubmit` and `apple signing ensure` (when GAME_CENTER is wanted) now run the same switch first and show it in
|
||||
the dry run; `validate` blocks while either is missing and Game Center is in the config, the entitlements or the
|
||||
built IPA.
|
||||
- **Guard:** `readGcSwitch` / `gcSwitchPlan` / `ensureGcSwitch` / `gameCenterInUse` in `cli/apple/game-center.ts`,
|
||||
`gameServicesFindings` (codes game-center.detail, game-center.version), the fake store's `gameCenterBuild` 409 and
|
||||
`tests/game-services.test.ts`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue