We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-01-09 01:41 PM
Hello,
I am trying to compile an addon for Archicad 26 on OSX. I built it on two different machines, for AC 26, but different OSX versions and one having Intel chip and the other M1. Both built as Release versions using CMake and the MDID identifiers are unique and valid.
Archicad 26 versions:
Intel mac: Build 4019 (Latest update)
Apple silicon: Build 4024
The problem is that the addon built on either machine works on the one it was compiled on, but not on the other. It gives this error: "The file is an outdated Add-On that cannot be used with this Archicad version."
https://archicadapi.Graphisoft.com/faq <--- This page talks about some "manifest" file. Where is it in the API for AC26?
Do the warnings during the 'compile' process affect the loading of the addon? But then it should not load on all the machines including the one that it was compiled on.
Does anyone have any idea why this could be happening?
Thanks.
2023-01-11 05:22 PM - edited 2023-01-11 05:27 PM
I'll try setting LSMinimumSystemVersion to 10.15.0 and test.
if you are using clang from XCode, it might still be, that also the XCode variables would have an effect.
What kind of variables / effect you mean?
Yes, I've had sprintf warnings but they didn't seem to cause such a problem. I used -Wno-deprecated-copy. I got rid of -Wnoerror.
2023-01-11 07:39 PM
What kind of variables / effect you mean?
I meant CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET. I would give it a shot in your case to also set them to 10.15.
Another point just to make sure. You have the newest Archicad 26 SDK right? They updated it beginning of November.
2023-01-11 08:36 PM
I'll test it with those params added and update.
Yes, it's the latest release of the API dev-kit for AC 26.