<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic xcode building API error &amp;quot;Invalid resource compiler&amp;quot; in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/xcode-building-API-error-quot-Invalid-resource-compiler-quot/m-p/581129#M9020</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;
&lt;P&gt;I'm relatively new to the mac environment and I was trying to build an api addon via xcode.&lt;/P&gt;
&lt;P&gt;I keep getting 'invalid resource compiler'. here is the actual logs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PhaseScriptExecution Generate\ ResourceObjects/AddOnResources.stamp /Volumes/AC_Addon/build/AC_Addon.build/Debug/Script-957E13CB870051DAB542C474.sh (in target 'AC_Addon' from project 'AC_Addon')

    cd /Volumes/archicad-addon-cmake

    /bin/sh -c /Volumes/AC_Addon/build/AC_Addon.build/Debug/Script-957E13CB870051DAB542C474.sh&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Traceback (most recent call last):

  File "/Volumes/archicad-addon-cmake/Tools/CompileResources.py", line 203, in &amp;lt;module&amp;gt;

    sys.exit (Main (sys.argv))

  File "/Volumes/archicad-addon-cmake/Tools/CompileResources.py", line 195, in Main

    assert resourceCompiler.IsValid (), 'Invalid resource compiler'

AssertionError: Invalid resource compiler

Command PhaseScriptExecution failed with a nonzero exit code&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do i need to install gcc or g++ for this?&lt;/P&gt;
&lt;P&gt;I know i definately have clang-13. here's clang -v command on the terminal. Do I need to update clang?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;`&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Apple clang version 13.1.6 (clang-1316.0.21.2.5)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Target: x86_64-apple-darwin21.6.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Thread model: posix&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;InstalledDir: .../&lt;/SPAN&gt;&lt;SPAN class=""&gt;XcodeDefault.xctoolchain/usr/bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;`&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's worth mentioning i'm on MacOS Monterey 12.7&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 10:50:11 GMT</pubDate>
    <dc:creator>jackjackjackjack</dc:creator>
    <dc:date>2024-09-17T10:50:11Z</dc:date>
    <item>
      <title>xcode building API error "Invalid resource compiler"</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/xcode-building-API-error-quot-Invalid-resource-compiler-quot/m-p/581129#M9020</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
&lt;P&gt;I'm relatively new to the mac environment and I was trying to build an api addon via xcode.&lt;/P&gt;
&lt;P&gt;I keep getting 'invalid resource compiler'. here is the actual logs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PhaseScriptExecution Generate\ ResourceObjects/AddOnResources.stamp /Volumes/AC_Addon/build/AC_Addon.build/Debug/Script-957E13CB870051DAB542C474.sh (in target 'AC_Addon' from project 'AC_Addon')

    cd /Volumes/archicad-addon-cmake

    /bin/sh -c /Volumes/AC_Addon/build/AC_Addon.build/Debug/Script-957E13CB870051DAB542C474.sh&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Traceback (most recent call last):

  File "/Volumes/archicad-addon-cmake/Tools/CompileResources.py", line 203, in &amp;lt;module&amp;gt;

    sys.exit (Main (sys.argv))

  File "/Volumes/archicad-addon-cmake/Tools/CompileResources.py", line 195, in Main

    assert resourceCompiler.IsValid (), 'Invalid resource compiler'

AssertionError: Invalid resource compiler

Command PhaseScriptExecution failed with a nonzero exit code&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do i need to install gcc or g++ for this?&lt;/P&gt;
&lt;P&gt;I know i definately have clang-13. here's clang -v command on the terminal. Do I need to update clang?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;`&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Apple clang version 13.1.6 (clang-1316.0.21.2.5)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Target: x86_64-apple-darwin21.6.0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Thread model: posix&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;InstalledDir: .../&lt;/SPAN&gt;&lt;SPAN class=""&gt;XcodeDefault.xctoolchain/usr/bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;`&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's worth mentioning i'm on MacOS Monterey 12.7&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:50:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/xcode-building-API-error-quot-Invalid-resource-compiler-quot/m-p/581129#M9020</guid>
      <dc:creator>jackjackjackjack</dc:creator>
      <dc:date>2024-09-17T10:50:11Z</dc:date>
    </item>
  </channel>
</rss>

