Post

Replies

Boosts

Views

Activity

Reply to Unable to change build attached to version in App Store Connect
The missing + and - is not a UI bug. A version in Ready for Review is already inside a review submission, and its build relationship is frozen while that submission is open. The buttons come back once the version is out of it. Two ways out, depending on what you want. If you want to keep the submission, cancel it first. In the web UI that is "Remove from Review" on the version page; over the API it is PATCH /v1/reviewSubmissions/{id} with canceled=true — note this only works on a submission that has actually been submitted. Then attach the build and submit again. If the version was rejected rather than waiting, just attach the new build. That alone moves the version back to PREPARE_FOR_SUBMISSION and an "Update Review" button appears, which resubmits with the new binary. On your other question, deleting the version: I would not. The review thread hangs off the submission, and Apple exposes no DELETE for reviewSubmissions at all, so deleting the version is a bigger and less reversible move than cancelling the submission. When you do attach the build, read the relationship back rather than trusting the response. PATCH .../relationships/build returns 204 either way; GET /v1/appStoreVersions/{id}/build is the actual check. Script that does both, MIT, no dependencies: https://github.com/vskromny/appstore-release-kit
7h
Reply to 409 Error when submitting app for App Store review — stuck submission
409 This resource cannot be reviewed, please check associated errors to see why" on the appStoreVersion has, in my case, nothing to do with metadata. It means the version is still inside an existing review submission. After a rejection the version stays a member of the rejected reviewSubmission (state UNRESOLVED_ISSUES), and every path out of it answers 409: POST /v1/reviewSubmissionItems with that version into a new submission: 409, "This resource cannot be reviewed". POST /v1/reviewSubmissionItems into the old submission: 409, "reviewSubmission state does not allow adding more items". PATCH /v1/reviewSubmissions/{old} with submitted=true: the same 409. PATCH /v1/reviewSubmissions/{new} with canceled=true: 409, "Resource is not in cancellable state". Only a submitted submission can be cancelled, so an empty container you create while experimenting cannot be deleted at all — there is no DELETE for it either. Mine are still sitting there. What actually clears it is attaching a new build to the version. That flips the version out of REJECTED back to PREPARE_FOR_SUBMISSION, and then the web UI grows an "Update Review" button on the version page. Pressing it resubmits the same submission with the new build. That is why a new build "fixed" it for davidm230 — the build is not the fix in itself, it is what unlocks the version. As far as I can tell that last step is web-only. I could not find any API path that performs it, and all four calls above fail. Happy to be corrected if someone knows the endpoint. One thing worth checking while you are there: attaching a build does not happen by uploading it. The version keeps whatever build was attached last — mine sat on an old build for three weeks while six newer ones uploaded "successfully". The relationship is PATCH /v1/appStoreVersions/{id}/relationships/build, and it answers 204 whether or not it took, so read it back with GET /v1/appStoreVersions/{id}/build. I wrapped that read-back into a small MIT-licensed script if it saves anyone the typing: https://github.com/vskromny/appstore-release-kit — Node, no dependencies, ASC API key only.
8h
Reply to Unable to change build attached to version in App Store Connect
The missing + and - is not a UI bug. A version in Ready for Review is already inside a review submission, and its build relationship is frozen while that submission is open. The buttons come back once the version is out of it. Two ways out, depending on what you want. If you want to keep the submission, cancel it first. In the web UI that is "Remove from Review" on the version page; over the API it is PATCH /v1/reviewSubmissions/{id} with canceled=true — note this only works on a submission that has actually been submitted. Then attach the build and submit again. If the version was rejected rather than waiting, just attach the new build. That alone moves the version back to PREPARE_FOR_SUBMISSION and an "Update Review" button appears, which resubmits with the new binary. On your other question, deleting the version: I would not. The review thread hangs off the submission, and Apple exposes no DELETE for reviewSubmissions at all, so deleting the version is a bigger and less reversible move than cancelling the submission. When you do attach the build, read the relationship back rather than trusting the response. PATCH .../relationships/build returns 204 either way; GET /v1/appStoreVersions/{id}/build is the actual check. Script that does both, MIT, no dependencies: https://github.com/vskromny/appstore-release-kit
Replies
Boosts
Views
Activity
7h
Reply to 409 Error when submitting app for App Store review — stuck submission
409 This resource cannot be reviewed, please check associated errors to see why" on the appStoreVersion has, in my case, nothing to do with metadata. It means the version is still inside an existing review submission. After a rejection the version stays a member of the rejected reviewSubmission (state UNRESOLVED_ISSUES), and every path out of it answers 409: POST /v1/reviewSubmissionItems with that version into a new submission: 409, "This resource cannot be reviewed". POST /v1/reviewSubmissionItems into the old submission: 409, "reviewSubmission state does not allow adding more items". PATCH /v1/reviewSubmissions/{old} with submitted=true: the same 409. PATCH /v1/reviewSubmissions/{new} with canceled=true: 409, "Resource is not in cancellable state". Only a submitted submission can be cancelled, so an empty container you create while experimenting cannot be deleted at all — there is no DELETE for it either. Mine are still sitting there. What actually clears it is attaching a new build to the version. That flips the version out of REJECTED back to PREPARE_FOR_SUBMISSION, and then the web UI grows an "Update Review" button on the version page. Pressing it resubmits the same submission with the new build. That is why a new build "fixed" it for davidm230 — the build is not the fix in itself, it is what unlocks the version. As far as I can tell that last step is web-only. I could not find any API path that performs it, and all four calls above fail. Happy to be corrected if someone knows the endpoint. One thing worth checking while you are there: attaching a build does not happen by uploading it. The version keeps whatever build was attached last — mine sat on an old build for three weeks while six newer ones uploaded "successfully". The relationship is PATCH /v1/appStoreVersions/{id}/relationships/build, and it answers 204 whether or not it took, so read it back with GET /v1/appStoreVersions/{id}/build. I wrapped that read-back into a small MIT-licensed script if it saves anyone the typing: https://github.com/vskromny/appstore-release-kit — Node, no dependencies, ASC API key only.
Replies
Boosts
Views
Activity
8h