When using SwiftRNG devices on macOS, it is possible to encounter a
segmentation fault when using SwiftRNG Software Kit on macOS.
If that is the case then it is likely that you may be using the libusb version 1.0.25 which is currently available by default on latest macOS platforms.
We found some issues with libusb version 1.20.25. For that reason we recommend using libusb versions prior to 1.20.25 or later.
The following steps demonstrates how to successfully install libusb version 1.0.24 on macOS.
Make sure that any libusb dependency is removed from macOS with the following command:
brew uninstall libusb
Download the libusb version 1.0.24 source code from GitHub with the following command:
Extract the downloaded file with the following command:
tar -xvf libusb-1.0.24.tar.bz2
Configure the libusb build by using the following commands:
cd libusb-1.0.24 ./configure
Build the libusb from sources with the following command:
Install new artifacts with the following command:
sudo make install
Rebuild SwiftRNG utilities and applications and verify the results.