Information Technology Reference
In-Depth Information
Alternatively, the
ideviceinfo
command-line tool available in the
libimobiledevice
software library (
http://www.libimobiledevice.org/
)
can be used to identify the iPhone
model and its iOS version. The library allows you to communicate with an iPhone even if
the device is locked by a passcode. The software library was developed by Nikias Bassen
(pimskeks), and it was compiled for Mac OS X by Ben Clayton (benvium).
Mac OS X can be installed in virtual machines for use on a Windows platform. To obtain
the iPhone model and its iOS version information on Mac OS X 10.8, the following steps
must be followed:
1. Open the terminal application.
2. From the command line, run the following command to download the
lib-
imobiledevice
library:
$ git clone https://github.com/benvium/
libimobiledevice-macosx.git ~/Desktop/
libimobiledevice-macosx/
The command creates the
libimobiledevice-macosx
directory on the
user's desktop and places the
libimobiledevice
command-line tools onto it.
3. Navigate to the
libimobiledevice-macosx
directory, as follows:
$ cd ~/Desktop/libimobiledevice-macosx/
4. Create and edit the
.bash_profile
file using the
nano
command, as follows:
$ nano ~/.bash_profile
5. Add the following two lines to the
.bash_profile
file, as follows:
export DYLD_LIBRARY_PATH=~/Desktop/
libimobiledevice-macosx/:$DYLD_LIBRARY_PATH
PATH=${PATH}:~/Desktop/libimobiledevice-macosx/
Press
Ctrl
+
X
, type the letter
y
and hit
Enter
to save the file.
6. Return to the terminal and run the following command:
$ source ~/.bash_profile