Mac PKI card fix

Install this:

Download this and extract:

Install libusb and pkg-config from brew (install homebrew if you don't have it)
brew install libusb
brew install pkg-config

DO NOT COPY COMMANDS WITH [] BRACKETS INSIDE OF THEM
YOU'RE SUPPOSED TO FILL THOSE IN YOURSELF AS VERSIONS/FILENAMES MAY DIFFER

cd /opt/homebrew/Cellar/libusb/[VERSION]/lib
unlink [symlink]
- (you can look for the symlink by using "ls -la" and looking for the filename with an @ at the end or filename1 > filename2, however with the unlink command you must write it without the @, using the first filename)
mv libusb-1.0.0.dylib libusb-1.0.0.lib
ln -s libusb-1.0.0.lib libusb-1.0.lib

cd to CCID folder which you extracted:
pkg-config --libs libusb-1.0
pkg-config --cflags libusb-1.0
./MacOSX/configure
make
sudo make install

Check if file exists:  "/usr/local/libexec/SmartCardServices/drivers/ifd-ccid.bundle"

MAKE SURE OPENSC IS UNINSTALLED, USE UNINSTALLER FROM https://github.com/OpenSC/OpenSC/releases

Reboot