XC16 toolchain ver 1.33 that tweaked to be able to build under macOS High Sierra. The project is derived from the distribution by Microchip released under GPL.
$ ./src_build.sh
http://www.microchip.com/development-tools/pic-and-dspic-downloads-archive