fix(flutter-build-ios): use -u and -p flags for xcrun altool upload and preserve login keychain order
Update README Actions Table / update-readme (push) Successful in 6s

This commit is contained in:
2026-10-18 16:15:25 -07:00
parent 7a12bb1cc6
commit 6ef6e47cc9
+3 -3
View File
@@ -97,7 +97,7 @@ runs:
security create-keychain -p "$KEYCHAIN_PWD" "$KEYCHAIN" || true security create-keychain -p "$KEYCHAIN_PWD" "$KEYCHAIN" || true
security unlock-keychain -p "$KEYCHAIN_PWD" "$KEYCHAIN" || true security unlock-keychain -p "$KEYCHAIN_PWD" "$KEYCHAIN" || true
security set-keychain-settings -lut 21600 "$KEYCHAIN" || true security set-keychain-settings -lut 21600 "$KEYCHAIN" || true
security list-keychains -d user -s "$KEYCHAIN" "$HOME/Library/Keychains/login.keychain-db" || true security list-keychains -d user -s "$HOME/Library/Keychains/login.keychain-db" "$KEYCHAIN" || true
security default-keychain -s "$HOME/Library/Keychains/login.keychain-db" || true security default-keychain -s "$HOME/Library/Keychains/login.keychain-db" || true
echo "$IOS_CERT_BASE64" | base64 --decode > /tmp/certificate.p12 echo "$IOS_CERT_BASE64" | base64 --decode > /tmp/certificate.p12
@@ -213,8 +213,8 @@ runs:
xcrun altool --upload-app \ xcrun altool --upload-app \
-f "$IPA_FILE" \ -f "$IPA_FILE" \
--type ios \ --type ios \
--u "$AC_USERNAME" \ -u "$AC_USERNAME" \
--p "$AC_PASSWORD" -p "$AC_PASSWORD"
else else
echo "Skipping TestFlight upload (App Store Connect credentials not configured)." echo "Skipping TestFlight upload (App Store Connect credentials not configured)."
fi fi