Skip to content

Commit c29cba4

Browse files
committed
build: Xcode 12.1, macOS SDK 10.15.6
1 parent 9ed2f19 commit c29cba4

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

ci/test/00_setup_env_mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export CONTAINER_NAME=ci_macos_cross
1010
export DOCKER_NAME_TAG=ubuntu:20.04 # Check that Focal can cross-compile to macos (Focal is used in the gitian build as well)
1111
export HOST=x86_64-apple-darwin18
1212
export PACKAGES="cmake imagemagick librsvg2-bin libz-dev libtiff-tools libtinfo5 python3-setuptools xorriso"
13-
export XCODE_VERSION=11.3.1
14-
export XCODE_BUILD_ID=11C505
13+
export XCODE_VERSION=12.1
14+
export XCODE_BUILD_ID=12A7403
1515
export RUN_UNIT_TESTS=false
1616
export RUN_FUNCTIONAL_TESTS=false
1717
export GOAL="deploy"

contrib/gitian-build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def main():
210210
args.macos = 'm' in args.os
211211

212212
# Disable for MacOS if no SDK found
213-
if args.macos and not os.path.isfile('gitian-builder/inputs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz'):
213+
if args.macos and not os.path.isfile('gitian-builder/inputs/Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz'):
214214
print('Cannot build for MacOS, SDK does not exist. Will build for other OSes')
215215
args.macos = False
216216

contrib/gitian-descriptors/gitian-osx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ remotes:
3131
- "url": "https://github.com/bitcoin/bitcoin.git"
3232
"dir": "bitcoin"
3333
files:
34-
- "Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz"
34+
- "Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz"
3535
script: |
3636
set -e -o pipefail
3737
@@ -88,7 +88,7 @@ script: |
8888
BASEPREFIX="${PWD}/depends"
8989
9090
mkdir -p ${BASEPREFIX}/SDKs
91-
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz
91+
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz
9292
9393
# Build dependencies for each host
9494
for i in $HOSTS; do

contrib/guix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
167167
Set the path where _extracted_ SDKs can be found. This is passed through to
168168
the depends tree. Note that this is should be set to the _parent_ directory of
169169
the actual SDK (e.g. SDK_PATH=$HOME/Downloads/macOS-SDKs instead of
170-
$HOME/Downloads/macOS-SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers).
170+
$HOME/Downloads/macOS-SDKs/Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers).
171171

172172
* _**JOBS**_
173173

contrib/macdeploy/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ When complete, it will have produced `Bitcoin-Core.dmg`.
1313
### Step 1: Obtaining `Xcode.app`
1414

1515
Our current macOS SDK
16-
(`Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz`) can be
16+
(`Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`) can be
1717
extracted from
18-
[Xcode_11.3.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_11.3.1/Xcode_11.3.1.xip).
18+
[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip).
1919
An Apple ID is needed to download this.
2020

2121
After Xcode version 7.x, Apple started shipping the `Xcode.app` in a `.xip`
@@ -27,25 +27,25 @@ approach (tested on Debian Buster) is outlined below:
2727
apt install cpio
2828
git clone https://github.com/bitcoin-core/apple-sdk-tools.git
2929

30-
# Unpack Xcode_11.3.1.xip and place the resulting Xcode.app in your current
30+
# Unpack Xcode_12.1.xip and place the resulting Xcode.app in your current
3131
# working directory
32-
python3 apple-sdk-tools/extract_xcode.py -f Xcode_11.3.1.xip | cpio -d -i
32+
python3 apple-sdk-tools/extract_xcode.py -f Xcode_12.1.xip | cpio -d -i
3333
```
3434

3535
On macOS the process is more straightforward:
3636

3737
```bash
38-
xip -x Xcode_11.3.1.xip
38+
xip -x Xcode_12.1.xip
3939
```
4040

41-
### Step 2: Generating `Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz` from `Xcode.app`
41+
### Step 2: Generating `Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz` from `Xcode.app`
4242

43-
To generate `Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz`, run
43+
To generate `Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`, run
4444
the script [`gen-sdk`](./gen-sdk) with the path to `Xcode.app` (extracted in the
4545
previous stage) as the first argument.
4646

4747
```bash
48-
# Generate a Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz from
48+
# Generate a Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz from
4949
# the supplied Xcode.app
5050
./contrib/macdeploy/gen-sdk '/path/to/Xcode.app'
5151
```

depends/hosts/darwin.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OSX_MIN_VERSION=10.14
2-
OSX_SDK_VERSION=10.15.1
3-
XCODE_VERSION=11.3.1
4-
XCODE_BUILD_ID=11C505
2+
OSX_SDK_VERSION=10.15.6
3+
XCODE_VERSION=12.1
4+
XCODE_BUILD_ID=12A7403
55
LD64_VERSION=609
66

77
OSX_SDK=$(SDK_PATH)/Xcode-$(XCODE_VERSION)-$(XCODE_BUILD_ID)-extracted-SDK-with-libcxx-headers

0 commit comments

Comments
 (0)