Skip to content

Instantly share code, notes, and snippets.

@ruudud
Created October 8, 2014 14:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruudud/ba11b420e2011bafff69 to your computer and use it in GitHub Desktop.
Save ruudud/ba11b420e2011bafff69 to your computer and use it in GitHub Desktop.
ios-webkit-debug-proxy on Ubuntu 14.04
$ mkdir ~/ios-proxy && cd $_
$ git clone https://github.com/google/ios-webkit-debug-proxy
$ sudo apt-get install \
      autoconf automake \
      libusb-dev libusb-1.0-0-dev \
      libplist-dev libplist++-dev \
      usbmuxd \
      libimobiledevice-dev
$ wget http://www.libimobiledevice.org/downloads/libplist-1.11.tar.bz2
$ tar -xvf libplist-1.11.tar.bz2
$ cd libplist-1.11/
$ ./configure --prefix=/home/<Your user name>/ios-proxy/ && make && make install
$ cd ../ios-webkit-debug-proxy
$ LDFLAGS="-L/home/<Your user name>/ios-proxy/lib/" CFLAGS="-I/home/<Your user name>/ios-proxy/include/" ./configure --prefix=/home/<Your user name>/ios-proxy
$ make && make install

# RUN!
$ LD_PRELOAD=/home/<Your user name>/ios-proxy/lib/libplist.so /home/<Your user name>/ios-proxy/bin/ios_webkit_debug_proxy

On the iDevice, Settings → Safari → Advanced → enable Web Inspector.

@yashvekaria
Copy link

Hi,

I am getting an error while writing this cmd
./configure --prefix=/home//ios-proxy/ && make && make install

ERROR:
Making install in src
make[1]: Entering directory /home/dpc2/ios-proxy/libplist-1.11/src' make[2]: Entering directory/home/dpc2/ios-proxy/libplist-1.11/src'
/bin/mkdir -p '/home/dpc2/ios-proxy/lib'
/bin/bash ../libtool --mode=install /usr/bin/install -c libplist.la libplist++.la '/home/dpc2/ios-proxy/lib'
libtool: install: /usr/bin/install -c .libs/libplist.so.2.0.0 /home/dpc2/ios-proxy/lib/libplist.so.2.0.0
libtool: install: (cd /home/dpc2/ios-proxy/lib && { ln -s -f libplist.so.2.0.0 libplist.so.2 || { rm -f libplist.so.2 && ln -s libplist.so.2.0.0 libplist.so.2; }; })
libtool: install: (cd /home/dpc2/ios-proxy/lib && { ln -s -f libplist.so.2.0.0 libplist.so || { rm -f libplist.so && ln -s libplist.so.2.0.0 libplist.so; }; })
libtool: install: /usr/bin/install -c .libs/libplist.lai /home/dpc2/ios-proxy/lib/libplist.la
libtool: install: error: cannot install libplist++.la' to a directory not ending in /home/yash/ios-proxy/lib make[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory/home/dpc2/ios-proxy/libplist-1.11/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/dpc2/ios-proxy/libplist-1.11/src'
make: *** [install-recursive] Error 1

I dnt get here what exactly the username shoud me ?

Can you guide me please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment