| ... | ... | @@ -15,7 +15,7 @@ pub const macos = @import("darwin/macos.zig"); |
| 15 | 15 | pub fn isSdkInstalled(allocator: Allocator) bool { |
| 16 | 16 | const result = std.process.Child.run(.{ |
| 17 | 17 | .allocator = allocator, |
| 18 | | .argv = &.{ "/usr/bin/xcode-select", "--print-path" }, |
| 18 | .argv = &.{ "xcode-select", "--print-path" }, |
| 19 | 19 | }) catch return false; |
| 20 | 20 | |
| 21 | 21 | defer { |
| ... | ... | @@ -48,7 +48,7 @@ pub fn getSdk(allocator: Allocator, target: Target) ?[]const u8 { |
| 48 | 48 | .visionos => if (is_simulator_abi) "xrsimulator" else "xros", |
| 49 | 49 | else => return null, |
| 50 | 50 | }; |
| 51 | | const argv = &[_][]const u8{ "/usr/bin/xcrun", "--sdk", sdk, "--show-sdk-path" }; |
| 51 | const argv = &[_][]const u8{ "xcrun", "--sdk", sdk, "--show-sdk-path" }; |
| 52 | 52 | const result = std.process.Child.run(.{ .allocator = allocator, .argv = argv }) catch return null; |
| 53 | 53 | defer { |
| 54 | 54 | allocator.free(result.stderr); |