The X2 plugin for macOS still contains the i386 code... useless as there is no more 32 bit support on macOS ... and has not for a very long time. So do not ship the plugin with the i386 code.
Still no arm64 support in the macOS plugin version 3.20 (there is a arm64 version of TheSkyX macOS so this is going to become urgent as it'll be release to the general public soon).
Stop using a dynamic link to libusb and installing it in the Frameworks directory. Any plugin that does this will overwrite the existing version in there which is used by other plugin. All X2 plugin needing libusb should statically link it in the plugin so that there is no risk of it being overwritten and not matching you linked version (which tends to make the plugin crash as the stack frame might be different).