Skip to content

Commit 463ad63

Browse files
use xcrun to invoke objdump
1 parent b185ce2 commit 463ad63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toolchain/toolchain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ export class SwiftToolchain {
542542
}
543543
// Use objdump to determine if this is an xcrun shim.
544544
try {
545-
const objdumpOutput = await execFile("/usr/bin/objdump", ["-h", binary]);
545+
const objdumpOutput = await execFile("xcrun", ["objdump", "-h", binary]);
546546
return objdumpOutput.stdout.includes("__xcrun_shim");
547547
} catch (error) {
548548
logger?.error(error);

0 commit comments

Comments
 (0)