<div dir="ltr"><div dir="ltr">That's a good addition. But it just stops short of a great addition.</div><div dir="ltr"><br></div><div dir="ltr">Instead of just adding "-I/Applications/Xcode.app/..../MacOSX.sdk" to the clang command line, it would be much better to also add  "-F/Applications/Xcode.app/..../MacOSX.sdk/System/Library/Frameworks". That way, jextract would gain the ability to find header files of frameworks, a core feature of macOS development.</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 5, 2022 at 6:45 PM Athijegannathan Sundararajan <<a href="mailto:sundar@openjdk.org">sundar@openjdk.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Using xcrun --show-sdk-path to find the SDK installation path<br>
<br>
-------------<br>
<br>
Commit messages:<br>
 - 7903284: jextract should infer platform specific include path for Mac OS<br>
<br>
Changes: <a href="https://git.openjdk.org/jextract/pull/69/files" rel="noreferrer" target="_blank">https://git.openjdk.org/jextract/pull/69/files</a><br>
 Webrev: <a href="https://webrevs.openjdk.org/?repo=jextract&pr=69&range=00" rel="noreferrer" target="_blank">https://webrevs.openjdk.org/?repo=jextract&pr=69&range=00</a><br>
  Issue: <a href="https://bugs.openjdk.org/browse/CODETOOLS-7903284" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/CODETOOLS-7903284</a><br>
  Stats: 29 lines in 1 file changed: 29 ins; 0 del; 0 mod<br>
  Patch: <a href="https://git.openjdk.org/jextract/pull/69.diff" rel="noreferrer" target="_blank">https://git.openjdk.org/jextract/pull/69.diff</a><br>
  Fetch: git fetch <a href="https://git.openjdk.org/jextract" rel="noreferrer" target="_blank">https://git.openjdk.org/jextract</a> pull/69/head:pull/69<br>
<br>
PR: <a href="https://git.openjdk.org/jextract/pull/69" rel="noreferrer" target="_blank">https://git.openjdk.org/jextract/pull/69</a><br>
</blockquote></div></div>