# USE  On MAC OS

## Method 1

```
Run precompiled SavvyCAN with Peak CAN-USB support on macOS X 12.5.1 (Monterey)
===============================================================================
Download Address: https://github.com/collin80/SavvyCAN/files/9498085/SavvyCAN.V207.Built.Sep.5.2022.for.macOS.12.5.1.with.Peak.PCAN-USB.device.support.zip

1.1 - Install the pre-compiled MacCAN driver 0.11.2:
$ cp libPCUSB.0.11.2.dylib /usr/local/lib/libPCUSB.dylib

1.2 - Double click on SavvyCAN.app

```

## Method2

<pre><code>2 Compile SavvyCAN with Peak CAN-USB support on macOS X 12.5.1 (Monterey)
=======================================================================
Reference: https://mac-can.com/ 
<strong>
</strong><strong>0 - Pre-requesite: QT 5.15.5 must be installed using HowmeBrew
</strong>
2.1 - Download and install the MacCAN driver 0.11.2
$ wget https://github.com/mac-can/PCBUSB-Library/releases/download/v0.11.2/macOS_Library_for_PCANUSB_v0.11.2.tar.gz
$ tar xvzf macOS_Library_for_PCANUSB_v0.11.2.tar.gz
$ cd macOS_Library_for_PCANUSB_v0.11.2
$ make install

2.2 - Download and compile QTSerialBus 5.15.5
$ git clone https://github.com/qt/qtserialbus.git
$ cd qtserialbus
$ git checkout v5.15.5-lts-lgpl
$ qmake
$ make

2.3 - Download and compile the latest version of SavvyCAN
$ git clone https://github.com/collin80/SavvyCAN.git
$ cd SavvyCAN
$ qmake
$ make

2.4 - Build SavvyCAN bundled with all plugins and libraries includes
$ macdeployqt SavvyCAN.app
$ cp -r ../qtserialbus/plugins/canbus SavvyCAN.app/Contents/PlugIns/
$ macdeployqt SavvyCAN.app
</code></pre>

## Download Link

{% file src="<https://1612553904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9gHV3stj5J1Ngg514P3%2Fuploads%2FsibxGE86ryvIn2U6xNXX%2FMac%20OS-MacCAN.zip?alt=media&token=112ec4db-6910-462a-a7c9-a8953a0e3c25>" %}

{% file src="<https://1612553904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc9gHV3stj5J1Ngg514P3%2Fuploads%2FY835PEe3bsSB8bpIji92%2FSavvyCAN.V207.Built.Sep.5.2022.for.macOS.12.5.1.with.Peak.PCAN-USB.device.support.zip?alt=media&token=c820cab3-3cd7-4cdf-9507-837414d25f9d>" %}
