Archicad C++ API
About Archicad add-on development using the C++ API.

xcode building API error "Invalid resource compiler"

jackjackjackjack
Participant

Hey,

I'm relatively new to the mac environment and I was trying to build an api addon via xcode.

I keep getting 'invalid resource compiler'. here is the actual logs

 

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
Traceback (most recent call last):

  File "/Volumes/archicad-addon-cmake/Tools/CompileResources.py", line 203, in <module>

    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

 

 

Do i need to install gcc or g++ for this?

I know i definately have clang-13. here's clang -v command on the terminal. Do I need to update clang? 

`

Apple clang version 13.1.6 (clang-1316.0.21.2.5)

Target: x86_64-apple-darwin21.6.0

Thread model: posix

InstalledDir: .../XcodeDefault.xctoolchain/usr/bin

`

 

It's worth mentioning i'm on MacOS Monterey 12.7

0 REPLIES 0