File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,24 +27,13 @@ archive. This makes the SDK less-trivial to extract on non-macOS machines. One
2727approach (tested on Debian Buster) is outlined below:
2828
2929``` bash
30+ # Install/clone tools needed for extracting Xcode.app
31+ apt install cpio
32+ git clone https://github.com/bitcoin-core/apple-sdk-tools.git
3033
31- apt install clang cpio git liblzma-dev libxml2-dev libssl-dev make
32-
33- git clone https://github.com/tpoechtrager/xar
34- pushd xar/xar
35- ./configure
36- make
37- make install
38- popd
39-
40- git clone https://github.com/NiklasRosenstein/pbzx
41- pushd pbzx
42- clang -llzma -lxar pbzx.c -o pbzx -Wl,-rpath=/usr/local/lib
43- popd
44-
45- xar -xf Xcode_10.2.1.xip -C .
46-
47- ./pbzx/pbzx -n Content | cpio -i
34+ # Unpack Xcode_10.2.1.xip and place the resulting Xcode.app in your current
35+ # working directory
36+ python3 apple-sdk-tools/extract_xcode.py -f Xcode_10.2.1.xip | cpio -d -i
4837```
4938
5039On macOS the process is more straightforward:
You can’t perform that action at this time.
0 commit comments