I had someone tell me that they were able to get it working on El Capitan by disabling some security settings, but I've resorted to running services (https://github.com/CamHenlin/iMessageBot specifically) on a VM with a genuine Apple device SN running Yosemite, and that works very nicely.