Hi Yi,
On macOS platform Archicad tries to load the dynamic libraries from the Support folder next to Archicad.app, so if you Add-On uses external dynamic libraries, then you should place it into the Support folder.
On Windows platform the dynamic libraries should be placed next to Archicad.exe.