From aa83f2942436b6635cd4cf217e45aeaa2dcff315 Mon Sep 17 00:00:00 2001 From: martinbarker Date: Sat, 25 Jan 2025 17:04:34 -0800 Subject: [PATCH] wrapped fix --- script/xcrun-wrapper.mts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/script/xcrun-wrapper.mts b/script/xcrun-wrapper.mts index 475c08a..1b16c7f 100644 --- a/script/xcrun-wrapper.mts +++ b/script/xcrun-wrapper.mts @@ -6,12 +6,6 @@ import { readFile } from 'node:fs/promises'; // Get arguments from the command line const [filePath, apiKeyId, apiIssuer, bundleId] = process.argv.slice(2); - -console.log('filePath:', filePath); -console.log('apiKeyId:', apiKeyId); -console.log('apiIssuer:', apiIssuer); -console.log('bundleId:', bundleId); - if (!filePath || !apiKeyId || !apiIssuer || !bundleId) { console.error('Usage: npx tsx xcrun-wrapper.mts '); process.exit(1); @@ -31,8 +25,8 @@ async function runAttempt() { '--output-format', 'json', '--upload-package', filePath, '--type', 'macos', - '--apiKey', "K64CXD596U", - '--apiIssuer', "4c2a4671-9948-4fd3-be20-5c84c40be346", + '--apiKey', apiKeyId, + '--apiIssuer', apiIssuer, ]; console.log('Running command: xcrun', xcrunArgs.join(' '));