-
Notifications
You must be signed in to change notification settings - Fork 139
/
ios_install.sh
executable file
·62 lines (55 loc) · 1.43 KB
/
ios_install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
cd ~
# Pre-prompt for the sudo authorization so it doesn't prompt later
sudo date
# Build ios-webkit-debug-proxy (and dependencies) from source
until sudo apt -y update
do
sleep 1
done
until sudo DEBIAN_FRONTEND=noninteractive apt -yq install build-essential \
cmake python-dev cython swig automake autoconf libtool libusb-1.0-0 libusb-1.0-0-dev \
libreadline-dev openssl libssl-dev
do
sleep 1
done
sudo DEBIAN_FRONTEND=noninteractive apt -yq install libssl1.0.2
sudo DEBIAN_FRONTEND=noninteractive apt -yq install libssl1.1
cd ~
git clone --depth 1 https://github.com/libimobiledevice/libplist.git libplist
cd libplist
./autogen.sh
make
sudo make install
cd ~
rm -rf libplist
git clone --depth 1 https://github.com/libimobiledevice/libusbmuxd.git libusbmuxd
cd libusbmuxd
./autogen.sh
make
sudo make install
cd ~
rm -rf libusbmuxd
git clone --depth 1 https://github.com/libimobiledevice/libimobiledevice.git libimobiledevice
cd libimobiledevice
./autogen.sh
make
sudo make install
cd ~
rm -rf libimobiledevice
git clone --depth 1 https://github.com/libimobiledevice/usbmuxd.git usbmuxd
cd usbmuxd
./autogen.sh
make
sudo make install
cd ~
rm -rf usbmuxd
git clone --depth 1 https://github.com/google/ios-webkit-debug-proxy.git ios-webkit-debug-proxy
cd ios-webkit-debug-proxy
./autogen.sh
make
sudo make install
cd ~
rm -rf ios-webkit-debug-proxy
sudo sh -c 'echo /usr/local/lib > /etc/ld.so.conf.d/libimobiledevice-libs.conf'
sudo ldconfig