How to Uninstall SideCar/Mac
Overview
SideCar/Mac is made up of several files which live in different places. It takes a bit of hand work to remove SideCar/Mac from your Mac. Here is how.
Delete SideCar
If SideCar is running, quit the application. Then, delete SideCar, which lives in the folder ...
/Applications/Utilities
Drag SideCar to the Trash to delete it. If you have an icon for SideCar on our Dock, you can remove it by dragging it off the dock.
If you are running Tiger (10.4.x), SideCar may be listed as SideCar.app.
Quit casd
See if a process named casd is running. You can do this by starting Activity Monitor, which lives in the folder ...
/Applications/Utilities
Select All Processes from the selection box at the top center of the window. (This selection box may initially say My Processes.) Look for a process named casd and select it. You will have a list which looks something like this ...
Now press the Quit Process icon near the top left of the window. You will get a dialog box similar to this one ...

Note that the Quit button is highlighted in blue. But, don't press it. Instead, press the Force Quit button. You will be prompted for your password. The entry for casd should then disappear from the list.
Delete casd Startup Information
From the Finder, look for ...
/Library/StartupItems
... and delete the folder underneath it named ...
CAS
... by dragging it into the Trash.
(You may need to type in your password to do this.)
Delete casd and its related files.
Start Terminal, which lives in the folder ...
/Applications/Utilities
Become root. You can do this by entering this command in Terminal ...
sudo su -
(You will be prompted for your password.)
Now, still in Terminal, enter these commands:
cd /usr/local/cas rm casd rm casdsock cd .. rmdir cas
Delete "casd temp" files
This part is a little tricky. When SideCar/Mac is running, it writes "temp files" in this directory:
/var/tmp
If SideCar/Mac crashes, or your Mac crashes while SideCar/Mac is running, some of these temp files will be left in the /var/tmp directory. You can spot these files by their names, which appear in two distinct forms:
1) The characters scX, followed by a 5 digit number. For example, you may see files named:
scX00745 scX00687 scX00423
2) Or, the filenames may be composed entirely of a 5 digit number, like:
00865 00322 00433
To list the files in the /var/tmp directory, enter these commands from Terminal
cd /var/tmp ls
If you see any casd temp files, you'll have to delete each one individually. You can do this by using the rm command, followed by the filename. For example, if you see the file
00865
... you can delete by entering this command in Terminal ...
rm 00865
Delete casd log file
While still in Terminal, enter these commands ...
cd /var/log rm casd.log
Delete the casd .pid file
Still in Terminal, enter these commands ...
cd /var/run rm casd.pid
You Are Done
SideCar/Mac has now been removed from your Mac.
