Fix iOS App Store upload validation
Some checks failed
Build Rust / Cargo Test (push) Successful in 4m1s
Lint Governance / BEP Metadata (push) Successful in 1s
Build Site / Next.js Build (push) Failing after 4s

This commit is contained in:
Conrad Kramer 2026-06-07 20:11:38 -07:00
parent fd9ea84ea5
commit 0924e40463
7 changed files with 115 additions and 8 deletions

View file

@ -458,11 +458,19 @@ jobs:
find publish -type f -print | sort
exit 1
fi
upload_log="${RUNNER_TEMP:-/tmp}/burrow-altool-ios-${BUILD_NUMBER}.log"
set +e
xcrun altool --upload-app \
--type ios \
--file "$ipa" \
--apiKey "$ASC_API_KEY_ID" \
--apiIssuer "$ASC_API_ISSUER_ID"
--apiIssuer "$ASC_API_ISSUER_ID" 2>&1 | tee "$upload_log"
altool_status=${PIPESTATUS[0]}
set -e
if (( altool_status != 0 )) || grep -Eq 'UPLOAD FAILED|Validation failed|ERROR:' "$upload_log"; then
echo "::error ::altool reported upload validation failure for $ipa" >&2
exit 1
fi
- name: Distribute iOS Build To TestFlight
shell: bash