apple resubmit after a rejection: iap-submit reuses the open review submission (UNRESOLVED_ISSUES gets only missing items and is resubmitted, a draft is reused, one waiting for or in review means nothing is sent), never a second draft; 409 ITEM_PART_OF_ANOTHER_SUBMISSION names the other submission instead of the list-lag message, a draft the run created is canceled and the named one used; submit retried with backoff and heartbeat while Apple says not ready yet; new apple resubmit --build <n> (build by number, plan table, --yes); apple status lists UNRESOLVED_ISSUES items and the resubmit command. Pitfall 30
This commit is contained in:
parent
c8213be2b6
commit
0da5ee9d01
21 changed files with 726 additions and 80 deletions
|
|
@ -392,3 +392,18 @@ that fails without the fix (see CONTRIBUTING.md).
|
|||
--propose` writes true only with `appPrivacy.trackingDomains`; `apple upload` checks every manifest in the IPA
|
||||
(app root, Frameworks, bundles) before any network call, `apple build` after the export;
|
||||
`tests/privacy-tracking.test.ts`.
|
||||
|
||||
## 30. Resubmit after a rejection: reuse the UNRESOLVED_ISSUES submission
|
||||
- **Symptom:** after an Invalid Binary rejection, `apple iap-submit --with-version --yes` created a new, empty draft
|
||||
and stopped with "the store says it already exists but does not list it yet (its lists lag ...)". The real answer
|
||||
was 409 `ITEM_PART_OF_ANOTHER_SUBMISSION`: the version was still in the rejected submission.
|
||||
- **Cause:** a rejected submission stays open with UNRESOLVED_ISSUES and keeps its items (the REJECTED version, its
|
||||
IAPs); storebound only looked for READY_FOR_REVIEW drafts, and read the 409's "already added" as a duplicate.
|
||||
- **Do:** upload the fixed build, `storebound apple status` (shows the submission, its items and the command), then
|
||||
`storebound apple resubmit --build <n>` (dry run, plan table) and after the owner's yes `--yes`. Expect "Version is
|
||||
not ready to be submitted yet" for a few minutes after the build is attached: the command retries with backoff
|
||||
(up to 10 min) and a re-run continues where it stopped.
|
||||
- **Guard:** `chooseSubmission` (cli/lib/review-submit.ts) reuses an open submission and never creates a second one;
|
||||
`addItem` turns the 409 into a message naming the other submission (never the lag message: `isConflict` excludes
|
||||
it), a draft created by the same run is canceled and the named one used; `submitWithRetry` (cli/apple/submission.ts);
|
||||
`tests/resubmit.test.ts`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue