gpsim is a full-featured software simulator for Microchip PIC microcontrollers distributed under the GNU General Public License, Version 2 or higher, and some of it's libraries under GNU Lesser General Public License, Version 2 or higher.
Extracted automatically from Gpsim homepage
brew install gpsim
The following 3 dependencies will be installed if you install Gpsim: