apple: macOS (tvOS, visionOS) versions are no longer invisible: every version and review submission lookup is per platform; status, listing, listing pull, resubmit, submit, release and screenshots take --platform and otherwise pick the platform that has the version they need (refuse naming both when several do); status, validate, release status, the report and the desktop label versions with their platform; MCP and owner actions get platform; pitfall 77
This commit is contained in:
parent
1736300784
commit
47dfd372fe
30 changed files with 423 additions and 127 deletions
|
|
@ -938,3 +938,18 @@ that fails without the fix (see CONTRIBUTING.md).
|
|||
- **Guard:** `cli/apple/creative-assets.ts` (`classify`, `pickAsset`, `processingTiming`), `tests/creative-assets.test.ts`
|
||||
(fake App Store Connect: upload and select in one run, still processing, rejected / archived files, add-for-review
|
||||
without submitting, verify read-only, a refused live placement); the fake commits library assets to PREPARE_FOR_SUBMISSION, as Apple does.
|
||||
|
||||
## 77. A macOS (tvOS, visionOS) version was invisible next to the iOS one
|
||||
- **Symptom:** `apple resubmit` said "nothing to resubmit" while a macOS version was REJECTED with an
|
||||
UNRESOLVED_ISSUES submission; `apple listing --version 0.8.7` refused because the iOS 0.8.7 was live, although the
|
||||
macOS 0.8.7 was the rejected one to fix; `apple status` listed versions without saying which platform.
|
||||
- **Cause:** one app record can have a version per platform, each with its own state and its own review submission
|
||||
(`reviewSubmissions` carry a `platform`). Lookups filtered on `IOS` only, or did not filter at all and mixed them.
|
||||
- **Do:** every version and review submission lookup filters by platform (`filter[platform]`). Commands that need one
|
||||
version (status --wait-review, listing, listing pull, resubmit, submit, release, screenshots) take
|
||||
`--platform ios|macos|tvos|visionos`; without it they use the platform that has the version they need, and refuse
|
||||
naming both when several do. Status, validate, release status, the report and the desktop show the platform next to
|
||||
every version; validate and release status warn about another platform's editable or rejected version.
|
||||
- **Guard:** `cli/apple/platform.ts` (`pickPlatform`, `parsePlatform`), `tests/apple-platforms.test.ts` (fake App Store
|
||||
Connect: iOS 0.8.7 live, macOS 0.8.7 rejected in UNRESOLVED_ISSUES).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue