codemagic-ci-cd / cli-tools

Various utilities to managing Android and iOS app builds, code signing, and deployment.
https://codemagic.io/start/
GNU General Public License v3.0
243 stars 42 forks source link

Log build and its beta details after processing has completed #347

Closed priitlatt closed 11 months ago

priitlatt commented 11 months ago

Submitting iOS/macOS package to TestFlight can fail with error

POST https://api.appstoreconnect.apple.com/v1/betaAppReviewSubmissions returned 422: The build is not in a valid processing state for this operation. - The build is not in a valid processing state for this operation.

To better understand why the error happened without having to check the internal tool logs, print out the build which is about to be submitted, and its beta detail information, right after the tool has confirmed that their processing is completed by Apple.

Example of updated logs: Screenshot 2023-09-15 at 10 17 12

Updated actions