We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81c44b3 + dbc5606 commit 365343aCopy full SHA for 365343a
src/link/MachO/Dylib.zig
@@ -733,6 +733,15 @@ pub const TargetMatcher = struct {
733
const apple_string = try targetToAppleString(allocator, cpu_arch, platform);
734
try self.target_strings.append(allocator, apple_string);
735
736
+ // Xcode 26.4 SDK dropped `arm64-*` from TBD targets, ships `arm64e-*` only.
737
+ if (cpu_arch == .aarch64) {
738
+ try self.target_strings.append(allocator, try std.fmt.allocPrint(
739
+ allocator,
740
+ "arm64e{s}",
741
+ .{apple_string["arm64".len..]},
742
+ ));
743
+ }
744
+
745
switch (platform) {
746
.IOSSIMULATOR, .TVOSSIMULATOR, .WATCHOSSIMULATOR, .VISIONOSSIMULATOR => {
747
// For Apple simulator targets, linking gets tricky as we need to link against the simulator
0 commit comments