@@ -13,13 +13,13 @@ When complete, it will have produced `Bitcoin-Core.dmg`.
13
13
### Step 1: Obtaining ` Xcode.app `
14
14
15
15
Our current macOS SDK
16
- (` Xcode-12.1-12A7403 -extracted-SDK-with-libcxx-headers.tar.gz ` ) can be
16
+ (` Xcode-12.2-12B45b -extracted-SDK-with-libcxx-headers.tar.gz ` ) can be
17
17
extracted from
18
- [ Xcode_12.1 .xip] ( https://download.developer.apple.com/Developer_Tools/Xcode_12.1 /Xcode_12.1 .xip ) .
18
+ [ Xcode_12.2 .xip] ( https://download.developer.apple.com/Developer_Tools/Xcode_12.2 /Xcode_12.2 .xip ) .
19
19
Alternatively, after logging in to your account go to 'Downloads', then 'More'
20
- and look for [ ` Xcode_12.1 ` ] ( https://download.developer.apple.com/Developer_Tools/Xcode_12.1 /Xcode_12.1 .xip ) .
20
+ and look for [ ` Xcode_12.2 ` ] ( https://download.developer.apple.com/Developer_Tools/Xcode_12.2 /Xcode_12.2 .xip ) .
21
21
An Apple ID and cookies enabled for the hostname are needed to download this.
22
- The ` sha256sum ` of the archive should be ` 612443b1894b39368a596ea1607f30cbb0481ad44d5e29c75edb71a6d2cf050f ` .
22
+ The ` sha256sum ` of the archive should be ` 28d352f8c14a43d9b8a082ac6338dc173cb153f964c6e8fb6ba389e5be528bd0 ` .
23
23
24
24
After Xcode version 7.x, Apple started shipping the ` Xcode.app ` in a ` .xip `
25
25
archive. This makes the SDK less-trivial to extract on non-macOS machines. One
@@ -30,25 +30,25 @@ approach (tested on Debian Buster) is outlined below:
30
30
apt install cpio
31
31
git clone https://github.com/bitcoin-core/apple-sdk-tools.git
32
32
33
- # Unpack Xcode_12.1 .xip and place the resulting Xcode.app in your current
33
+ # Unpack Xcode_12.2 .xip and place the resulting Xcode.app in your current
34
34
# working directory
35
- python3 apple-sdk-tools/extract_xcode.py -f Xcode_12.1 .xip | cpio -d -i
35
+ python3 apple-sdk-tools/extract_xcode.py -f Xcode_12.2 .xip | cpio -d -i
36
36
```
37
37
38
38
On macOS the process is more straightforward:
39
39
40
40
``` bash
41
- xip -x Xcode_12.1 .xip
41
+ xip -x Xcode_12.2 .xip
42
42
```
43
43
44
- ### Step 2: Generating ` Xcode-12.1-12A7403 -extracted-SDK-with-libcxx-headers.tar.gz ` from ` Xcode.app `
44
+ ### Step 2: Generating ` Xcode-12.2-12B45b -extracted-SDK-with-libcxx-headers.tar.gz ` from ` Xcode.app `
45
45
46
- To generate ` Xcode-12.1-12A7403 -extracted-SDK-with-libcxx-headers.tar.gz ` , run
46
+ To generate ` Xcode-12.2-12B45b -extracted-SDK-with-libcxx-headers.tar.gz ` , run
47
47
the script [ ` gen-sdk ` ] ( ./gen-sdk ) with the path to ` Xcode.app ` (extracted in the
48
48
previous stage) as the first argument.
49
49
50
50
``` bash
51
- # Generate a Xcode-12.1-12A7403 -extracted-SDK-with-libcxx-headers.tar.gz from
51
+ # Generate a Xcode-12.2-12B45b -extracted-SDK-with-libcxx-headers.tar.gz from
52
52
# the supplied Xcode.app
53
53
./contrib/macdeploy/gen-sdk ' /path/to/Xcode.app'
54
54
```
0 commit comments