Use Kinect 1 or 2 sensors with Processing 2 or 3

Go to:

~/OpenNI2/Drivers/

In my case:

40694436-7cfd2750-63f7-11e8-9edc-3e8e80e3c56b

and paste the drivers directly in the SimpleOpenNI folder:

/libraries/SimpleOpenNI/library/osx/OpenNI2/Drivers/libfreenect2-openni2.0.dylib and /libraries/SimpleOpenNI/library/osx/OpenNI2/Drivers/libfreenect2-openni2.dylib