Skip to content

Instantly share code, notes, and snippets.

@d4rkstar
Last active November 1, 2020 09:20
Show Gist options
  • Save d4rkstar/215628dd03f3251c8a1b15033532be56 to your computer and use it in GitHub Desktop.
Save d4rkstar/215628dd03f3251c8a1b15033532be56 to your computer and use it in GitHub Desktop.
Install remotedebug-ios-webkit-adapter on Linux
#!/bin/bash
DESTDIR = ~/tmp/install
mkdir -p ~/tmp/install
sudo apt install \
build-essential \
checkinstall \
git \
autoconf \
automake \
libtool-bin \
libplist-dev \
libusbmuxd-dev \
libssl-dev \
usbmuxd
git clone https://github.com/libimobiledevice/libplist.git
cd $DESTDIR/libplist && ./autogen.sh && make && sudo make install
cd $DESTDIR
git clone https://github.com/libimobiledevice/libusbmuxd.git
cd $DESTDIR/libusbmuxd && ./autogen.sh && make && sudo make install
cd $DESTDIR
git clone https://github.com/libimobiledevice/libimobiledevice.git
cd $DESTDIR/libimobiledevice && ./autogen.sh && make && sudo make install
cd $DESTDIR
git clone https://github.com/google/ios-webkit-debug-proxy.git
cd $DESTDIR/ios-webkit-debug-proxy && ./autogen.sh && make && sudo make install
npm install remotedebug-ios-webkit-adapter -g
sudo ldconfig
cat << EOF
To start debugging, connect via USB your iOS device. Then start:
remotedebug_ios_webkit_adapter --port=9000
Open your chrome browser and go to:
chrome://inspect
Reference: https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment