From ca63aa95e3e5e1073de61db35b3e4ebcb2460556 Mon Sep 17 00:00:00 2001 From: stopflock Date: Thu, 16 Oct 2025 15:25:13 -0500 Subject: [PATCH] Debug cleanup --- .github/workflows/workflow.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2a675b0..8aa0a63 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -245,28 +245,18 @@ jobs: APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }} APP_STORE_CONNECT_API_KEY_BASE64: ${{ secrets.APP_STORE_CONNECT_API_KEY_BASE64 }} run: | - # Create the private keys directory + # Create the private keys directory and decode API key mkdir -p ~/private_keys - - # Decode and save the API key echo -n "$APP_STORE_CONNECT_API_KEY_BASE64" | base64 --decode > ~/private_keys/AuthKey_${APP_STORE_CONNECT_API_KEY_ID}.p8 - # Debug: Check if file was created and has content - echo "=== API Key File Debug ===" - ls -la ~/private_keys/ - file ~/private_keys/AuthKey_${APP_STORE_CONNECT_API_KEY_ID}.p8 - echo "First few lines of key file:" - head -3 ~/private_keys/AuthKey_${APP_STORE_CONNECT_API_KEY_ID}.p8 - echo "==========================" - - # Upload using xcrun altool + # Upload to App Store Connect / TestFlight xcrun altool --upload-app \ --type ios \ --file Runner.ipa \ --apiKey $APP_STORE_CONNECT_API_KEY_ID \ --apiIssuer $APP_STORE_CONNECT_ISSUER_ID - # Clean up + # Clean up sensitive files rm -rf ~/private_keys attach-to-release: