1. download and save to {your-path}:
https://github.com/benvium/libimobiledevice-macosx/zipball/master
2. edit bash profile:
nano ~/.bash_profile
3. add this in the end:
PATH=${PATH}:/{your-path}/
export DYLD_LIBRARY_PATH=/{your-path}/:$DYLD_LIBRARY_PATH
4. in terminal, run:
source ~/.bash_profile
5. use: idevicesyslog