@@ -17,9 +17,9 @@ When complete, it will have produced `Bitcoin-Qt.dmg`.
17
17
### Step 1: Obtaining ` Xcode.app `
18
18
19
19
Our current macOS SDK
20
- (` Xcode-10.2 .1-10E1001 -extracted-SDK-with-libcxx-headers.tar.gz ` ) can be
20
+ (` Xcode-11.3 .1-11C505 -extracted-SDK-with-libcxx-headers.tar.gz ` ) can be
21
21
extracted from
22
- [ Xcode_10.2 .1.xip] ( https://download.developer.apple.com/Developer_Tools/Xcode_10.2 .1/Xcode_10.2 .1.xip ) .
22
+ [ Xcode_11.3 .1.xip] ( https://download.developer.apple.com/Developer_Tools/Xcode_11.3 .1/Xcode_11.3 .1.xip ) .
23
23
An Apple ID is needed to download this.
24
24
25
25
After Xcode version 7.x, Apple started shipping the ` Xcode.app ` in a ` .xip `
@@ -31,25 +31,25 @@ approach (tested on Debian Buster) is outlined below:
31
31
apt install cpio
32
32
git clone https://github.com/bitcoin-core/apple-sdk-tools.git
33
33
34
- # Unpack Xcode_10.2 .1.xip and place the resulting Xcode.app in your current
34
+ # Unpack Xcode_11.3 .1.xip and place the resulting Xcode.app in your current
35
35
# working directory
36
- python3 apple-sdk-tools/extract_xcode.py -f Xcode_10.2 .1.xip | cpio -d -i
36
+ python3 apple-sdk-tools/extract_xcode.py -f Xcode_11.3 .1.xip | cpio -d -i
37
37
```
38
38
39
39
On macOS the process is more straightforward:
40
40
41
41
``` bash
42
- xip -x Xcode_10.2 .1.xip
42
+ xip -x Xcode_11.3 .1.xip
43
43
```
44
44
45
- ### Step 2: Generating ` Xcode-10.2 .1-10E1001 -extracted-SDK-with-libcxx-headers.tar.gz ` from ` Xcode.app `
45
+ ### Step 2: Generating ` Xcode-11.3 .1-11C505 -extracted-SDK-with-libcxx-headers.tar.gz ` from ` Xcode.app `
46
46
47
- To generate ` Xcode-10.2 .1-10E1001 -extracted-SDK-with-libcxx-headers.tar.gz ` , run
47
+ To generate ` Xcode-11.3 .1-11C505 -extracted-SDK-with-libcxx-headers.tar.gz ` , run
48
48
the script [ ` gen-sdk ` ] ( ./gen-sdk ) with the path to ` Xcode.app ` (extracted in the
49
49
previous stage) as the first argument.
50
50
51
51
``` bash
52
- # Generate a Xcode-10.2 .1-10E1001 -extracted-SDK-with-libcxx-headers.tar.gz from
52
+ # Generate a Xcode-11.3 .1-11C505 -extracted-SDK-with-libcxx-headers.tar.gz from
53
53
# the supplied Xcode.app
54
54
./contrib/macdeploy/gen-sdk ' /path/to/Xcode.app'
55
55
```
@@ -80,7 +80,7 @@ and its `libLTO.so` rather than those from `llvmgcc`, as it was originally done
80
80
81
81
To complicate things further, all builds must target an Apple SDK. These SDKs are free to
82
82
download, but not redistributable. To obtain it, register for an Apple Developer Account,
83
- then download [ Xcode_10.2 .1] ( https://download.developer.apple.com/Developer_Tools/Xcode_10.2 .1/Xcode_10.2 .1.xip ) .
83
+ then download [ Xcode_11.3 .1] ( https://download.developer.apple.com/Developer_Tools/Xcode_11.3 .1/Xcode_11.3 .1.xip ) .
84
84
85
85
This file is many gigabytes in size, but most (but not all) of what we need is
86
86
contained only in a single directory:
0 commit comments