@@ -14,51 +14,45 @@ When complete, it will have produced `Bitcoin-Core.zip`.
14
14
15
15
A free Apple Developer Account is required to proceed.
16
16
17
- Our current macOS SDK
18
- (` Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz ` )
19
- can be extracted from
20
- [ Xcode_12.2.xip] ( https://download.developer.apple.com/Developer_Tools/Xcode_12.2/Xcode_12.2.xip ) .
17
+ Our macOS SDK can be extracted from
18
+ [ Xcode_15.xip] ( https://download.developer.apple.com/Developer_Tools/Xcode_15/Xcode_15.xip ) .
21
19
22
20
Alternatively, after logging in to your account go to 'Downloads', then 'More'
23
- and search for [ ` Xcode 12.2 ` ] ( https://developer.apple.com/download/all/?q=Xcode%2012.2 ) .
21
+ and search for [ ` Xcode 15 ` ] ( https://developer.apple.com/download/all/?q=Xcode%2015 ) .
24
22
25
23
An Apple ID and cookies enabled for the hostname are needed to download this.
26
24
27
- The ` sha256sum ` of the downloaded XIP archive should be ` 28d352f8c14a43d9b8a082ac6338dc173cb153f964c6e8fb6ba389e5be528bd0 ` .
25
+ The ` sha256sum ` of the downloaded XIP archive should be ` 4daaed2ef2253c9661779fa40bfff50655dc7ec45801aba5a39653e7bcdde48e ` .
28
26
29
- After Xcode version 7.x, Apple started shipping the ` Xcode.app ` in a ` .xip `
30
- archive. This makes the SDK less-trivial to extract on non-macOS machines. One
31
- approach (tested on Debian Buster) is outlined below:
27
+ To extract the ` .xip ` on Linux:
32
28
33
29
``` bash
34
30
# Install/clone tools needed for extracting Xcode.app
35
31
apt install cpio
36
32
git clone https://github.com/bitcoin-core/apple-sdk-tools.git
37
33
38
- # Unpack Xcode_12.2 .xip and place the resulting Xcode.app in your current
34
+ # Unpack the .xip and place the resulting Xcode.app in your current
39
35
# working directory
40
- python3 apple-sdk-tools/extract_xcode.py -f Xcode_12.2 .xip | cpio -d -i
36
+ python3 apple-sdk-tools/extract_xcode.py -f Xcode_15 .xip | cpio -d -i
41
37
```
42
38
43
- On macOS the process is more straightforward :
39
+ On macOS:
44
40
45
41
``` bash
46
- xip -x Xcode_12.2 .xip
42
+ xip -x Xcode_15 .xip
47
43
```
48
44
49
- ### Step 2: Generating ` Xcode-12.2-12B45b-extracted- SDK-with-libcxx-headers.tar.gz ` from ` Xcode.app `
45
+ ### Step 2: Generating the SDK tarball from ` Xcode.app `
50
46
51
- To generate ` Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz ` , run
52
- the script [ ` gen-sdk ` ] ( ./gen-sdk ) with the path to ` Xcode.app ` (extracted in the
53
- previous stage) as the first argument.
47
+ To generate the SDK, run the script [ ` gen-sdk ` ] ( ./gen-sdk ) with the
48
+ path to ` Xcode.app ` (extracted in the previous stage) as the first argument.
54
49
55
50
``` bash
56
- # Generate a Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz from
57
- # the supplied Xcode.app
58
51
./contrib/macdeploy/gen-sdk ' /path/to/Xcode.app'
59
52
```
60
53
61
- The ` sha256sum ` of the generated TAR.GZ archive should be ` df75d30ecafc429e905134333aeae56ac65fac67cb4182622398fd717df77619 ` .
54
+ The generated archive should be: ` Xcode-15.0-15A240d-extracted-SDK-with-libcxx-headers.tar.gz ` .
55
+ The ` sha256sum ` should be ` c0c2e7bb92c1fee0c4e9f3a485e4530786732d6c6dd9e9f418c282aa6892f55d ` .
62
56
63
57
## Deterministic macOS App Notes
64
58
0 commit comments