Changeset View
Changeset View
Standalone View
Standalone View
doc/gitian-building/gitian-building-mac-os-sdk.md
Gitian building Mac OS SDK | Gitian building Mac OS SDK | ||||
========================== | ========================== | ||||
On the host machine, register for a free Apple [developer account](https://developer.apple.com/register/), then download the SDK [here](https://download.developer.apple.com/Developer_Tools/Xcode_11.3.1/Xcode_11.3.1.xip). | On the host machine, register for a free Apple [developer account](https://developer.apple.com/register/), then download the SDK [here](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). | ||||
Extract the SDK | Extract the SDK | ||||
--------------- | --------------- | ||||
Follow [these instructions](../../contrib/macdeploy/README.md#SDK-Extraction) to extract the SDK archive from the download. | Follow [these instructions](../../contrib/macdeploy/README.md#SDK-Extraction) to extract the SDK archive from the download. | ||||
Copy SDK to Gitian VM: | Copy SDK to Gitian VM: | ||||
---------------------- | ---------------------- | ||||
Copy it to the Gitian VM and clean up, e.g.: | Copy it to the Gitian VM and clean up, e.g.: | ||||
```bash | ```bash | ||||
scp Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz gitian: | scp Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz gitian: | ||||
rm Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz | rm Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz | ||||
``` | ``` | ||||
Login to the VM and: | Login to the VM and: | ||||
```bash | ```bash | ||||
mkdir -p gitian-builder/inputs | mkdir -p gitian-builder/inputs | ||||
mv Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz gitian-builder/inputs | mv Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz gitian-builder/inputs | ||||
``` | ``` | ||||
Troubleshooting | Troubleshooting | ||||
--------------- | --------------- | ||||
See [README_osx.md](https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/doc/README_osx.md) for troubleshooting tips. | See [README_osx.md](https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/doc/README_osx.md) for troubleshooting tips. |