Take a screenshot of iOS phone using Mac OSX
libplist -> libusbmuxd -> libimobiledevice -> usbmuxd, ifuse,ideviceinstaller, ...
libplist:
A library to handle Apple Property List format in binary or XML
sudo port install libplistusbmuxd:
A socket daemon to multiplex connections from and to iOS devices
Install usbmuxd on Mac OSXApp name: usbmuxd
App description: USB multiplexor daemon for iPhone and iPod Touch devices
App website: http://www.libimobiledevice.
Press Command+Space and type Terminal and press enter/return key.
Run in Terminal app:
ruby -e "$(curl -fsSL
https://raw.githubusercontent.
/dev/null 2> /dev/null
and press enter/return key. Wait for the command to finish.
Run:
brew install usbmuxd
libusbmuxd:
A client library to multiplex connections from and to iOS devices
https://github.com/To compile run:
./autogen.sh
make
sudo make install
pkg-config --print-variables libusbmuxd
imobiledevice issue due to libusbmuxd not found
thomasyounsi@Thomass-MacBook-
pkg-config --print-variables libusbmuxd
Package libusbmuxd was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusbmuxd.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusbmuxd' found
echo $PKG_CONFIG_PATH
/usr/lib/pkgconfig
thomasyounsi@Thomass-MacBook-
pkg-config --variable pc_path pkg-config
/opt/local/lib/pkgconfig:/opt/
thomasyounsi@Thomass-MacBook-
export PKG_CONFIG_PATH=$PKG_CONFIG_
locate libusbmuxd | grep '\.pc'
/usr/local/Cellar/usbmuxd/1.0.
/usr/local/lib/pkgconfig/
export PKG_CONFIG_PATH=$PKG_CONFIG_
libimobiledevice:
A cross-platform software protocol library and tools to communicate with iOS® devices natively
sudo ./autogen.sh or ./configure
make
sudo make install
Start XCode so that the iPhone get's mounted
run idevicescreenshot to get a nice ScreenShot in tiff format!!!
https://github.com/libimobiledevice/libimobiledevice/blob/master/tools/idevicescreenshot.c
No comments:
Post a Comment