Skip to content

Commit

Permalink
wrapped fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBarker committed Jan 26, 2025
1 parent 1f5a8be commit aa83f29
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions script/xcrun-wrapper.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <filePath> <apiKeyId> <apiIssuer> <bundleId>');
process.exit(1);
Expand All @@ -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(' '));
Expand Down

0 comments on commit aa83f29

Please sign in to comment.