cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

macOS Issue with Archicad 27 Add-On: "Outdated Add-On" Error

paul7
Participant

Hello,

I'm working on my first Archicad Add-On using the CMake template, targeting both Archicad 27 and 28.

Everything works smoothly on Windows, but on macOS, I’m running into a persistent issue when trying to load the plugin in Archicad 27. The error message I get is:

"Diese Datei ist ein veraltetes Add-On und kann mit dieser Archicad-Version nicht verwendet werden."
(This file is an outdated Add-On and cannot be used with this Archicad version.)

I get this same error with:

  • The example in the CMake template when building for version 27 specifically
  • The Browser_Control example from the API Development Kit 27 (6003)

That’s why I suspect I’m missing something in the build process.

 

What I've tried for both examples:

  • Building via the CMake Python script.
  • Building with a local API Development Kit 27 using the CMakeLists.txt from the CMake template.
  • Building with a local API Development Kit 27 using the CMakeLists.txt from the examples in the Development Kit.

I tested on:

  • macOS 14.8 with Xcode 15.4
  • macOS 15.6.1 with Xcode 26.0.1

I have a correct MDID set and I also tried it in the Demo mode.

 

I'm especially confused that the example from the CMake template is not working.

I’d really appreciate any pointers on what I'm missing or suggestions on what else I could check or try.

 

Thanks in advance!

Paul

3 REPLIES 3

Hi Paul!

 

Yeah this is an annoying issue I also had quite often and can be for several reasons which I don't remember all 😅

 

Some questions/suggestion to look into:

  • Does it work for AC28?
  • Are you running it on the same machine as you are compiling it? If not, you need to codesign and notarize the bundle first. Maybe you actually need to codesign even if you run it on the same machine, but I'm not sure anymore.
  • Do you get any warnings/errors during compilation?
  • What macOS deployment target are you using?
  • Can you provide one of the examples you are compiling for us to try and fix?
  • What's the exact build version of your AC?
  • What's the exact DevKit versions you are using?

Best regards,
Bernd

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com
paul7
Participant

Hi Bernd


Thank you for the quick response!


Answering your questions:

  • Yes, its working for AC28.
  • I'm running it on the same machine. For AC28 it works locally without codesign and notarize, but I'll give it a try.
  • No errors or warnings during compilation.
  • I set the deployment target to 10.15 in Xcode.
  • I've attached an example. It's basically https://github.com/GRAPHISOFT/archicad-addon-cmake with a small fix in the ExamplePrecompiledHeader. This is working for me on AC28. I use this command to compile:
    python3 Tools/BuildAddOn.py --configFile config.json -b Release
  • My AC Version is "27.0.0 (Apple Silicon)" with Build Number 4030.
  • I'm using the "API Development Kit 27 (6003) – macOS Universal Binary".

 

Best regards,

Paul

Hi Paul,

 

Please add '-v 27' to the build command to build for AC27.

 

Hope that helps,

Akos