Skip to content

Instantly share code, notes, and snippets.

@pavanbachu0604
Last active October 7, 2016 15:46
Show Gist options
  • Save pavanbachu0604/d505fa1978e45d95ab4ba44c8fb17d44 to your computer and use it in GitHub Desktop.
Save pavanbachu0604/d505fa1978e45d95ab4ba44c8fb17d44 to your computer and use it in GitHub Desktop.
Make sure you have brew installed , just use this command in terminal : “brew help”
If brew is not installed then use this command to install the brew : “/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
> cd Downloads
> mkdir libmobile //making a folder
> cd libmobile
>brew update
> brew install autoconf automake libtool libxml2 pkg-config libtasn1 openssl
> git clone https://github.com/libimobiledevice/libplist.git
> cd libplist
> ./autogen.sh
> ./configure
> make
> make install
> cd ..
Now you are in libmobile folder
We need to install libusmuxd now
> git clone https://github.com/libimobiledevice/libusbmuxd.git
> cd libusbmuxd
> ./autogen.sh
> ./configure
> make
> make install
> cd..
We need to install libimobiledevice now
> git clone http://git.libimobiledevice.org/libimobiledevice.git
> cd libimobiledevice
> ./autogen.sh
> ./configure
> make
> makeinstall
> cd..
Incase you get openssl error :
> brew install openssl
> NO_GETTEXT=1 make CFLAGS="-I/usr/local/opt/openssl/include" LDFLAGS="-L/usr/local/opt/openssl/lib"
We need to install ideviceinstaller now
> git clone https://github.com/libimobiledevice/ideviceinstaller.git
> cd libimobiledevice
> ./autogen.sh
> ./configure
> make
> makeinstall
> cd..
> ideviceinstaller -l -d
Expected Output for command above : CFBundleIdentifier, CFBundleVersion, CFBundleDisplayName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment