diff --git a/src/Flecs.NET.Bindgen/Program.cs b/src/Flecs.NET.Bindgen/Program.cs index 9aa57dde..9d60a92c 100644 --- a/src/Flecs.NET.Bindgen/Program.cs +++ b/src/Flecs.NET.Bindgen/Program.cs @@ -62,7 +62,7 @@ string GetMacOsHeaders() string path = process.StandardOutput.ReadToEnd(); - if (!Path.Exists(path)) + if (!Path.Exists("/Applications/Xcode_14.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk")) throw new DirectoryNotFoundException("Couldn't find system headers. Install XCode."); return path + "/usr/include";