File tree Expand file tree Collapse file tree 1 file changed +6
-17
lines changed Expand file tree Collapse file tree 1 file changed +6
-17
lines changed 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
27
27
approach (tested on Debian Buster) is outlined below:
28
28
29
29
``` 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
30
33
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
48
37
```
49
38
50
39
On macOS the process is more straightforward:
You can’t perform that action at this time.
0 commit comments