diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
index 48b8e6ef368054..bb5dbed5be9cc2 100644
--- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
+++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
@@ -102,12 +102,13 @@ The .NET Foundation licenses this file to you under the MIT license.
14.0
x86_64-apple-macos$(AppleMinOSVersion)
arm64-apple-macos$(AppleMinOSVersion)
+ <_AppleSdkName>macosx
-
+
xcrun
<_WhereXcrun>0
@@ -116,13 +117,13 @@ The .NET Foundation licenses this file to you under the MIT license.
<_HasDefaultSysRoot Condition="'$(SysRoot)' != ''">true
-
+
-
+