Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

commented Mar 11, 2015

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
You can’t perform that action at this time.