The previous link wasn't accessible for me, this adds some instructions given to me by Hebasto on #bitcoin-core-builds as well as a shasum for the archive to quickly check the downloaded one is the right one before processing with the entire Guix build.
macdeploy: alternative info to download the macOS SDK #22516
pull darosior wants to merge 1 commits into bitcoin:master from darosior:nit_guix_doc changing 1 files +5 −2-
darosior commented at 10:33 AM on July 21, 2021: member
- fanquake added the label Docs on Jul 21, 2021
-
in contrib/macdeploy/README.md:19 in 5bbb2edf69 outdated
14 | @@ -15,8 +15,10 @@ When complete, it will have produced `Bitcoin-Core.dmg`. 15 | Our current macOS SDK 16 | (`Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`) can be 17 | extracted from 18 | -[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). 19 | +[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip) 20 | +(alternatively, after login to your account go to "Downloads", then "More" and look for [`Xcode_12.1`]( https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip)).
hebasto commented at 10:35 AM on July 21, 2021:extra space?
(alternatively, after login to your account go to "Downloads", then "More" and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip)).
darosior commented at 10:36 AM on July 21, 2021:Woops, done.
darosior force-pushed on Jul 21, 2021hebasto commented at 10:42 AM on July 21, 2021: memberConcept ACK.
It seems https://developer.apple.com just requires that one is logged in before following the https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip link.
Emzy commented at 1:01 PM on July 21, 2021: contributorConcept ACK. I always get a "403 Forbidden", also after being logged in. Searching for "12.1" on https://developer.apple.com/download/all/ works. I checked the sha256sum of my Xcode_12.1.xip file and got a match. 612443b1894b39368a596ea1607f30cbb0481ad44d5e29c75edb71a6d2cf050f
hebasto commented at 1:35 PM on July 21, 2021: memberWhile touching this file, maybe update these lines as well https://github.com/bitcoin/bitcoin/blob/5bbb2edf6960798eee6998181fa78f0bbe07740e/contrib/macdeploy/README.md#L79-L81 ?
Or just drop them?
achow101 commented at 4:39 PM on July 21, 2021: memberI think it would be useful to mention that cookies for https://download.developer.apple.com/ need to be allowed in order for the actual download link to work. Otherwise you could still login and click the download link and still get a 403.
jarolrod commented at 12:44 AM on July 22, 2021: memberConcept ACK
It's a bit tricky to accurately convey my suggestions using the online github tools, so below is a diff and here is a branch with my suggestions:
diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md index ad52f7d20..6b8de576e 100644 --- a/contrib/macdeploy/README.md +++ b/contrib/macdeploy/README.md @@ -15,10 +15,11 @@ When complete, it will have produced `Bitcoin-Core.dmg`. Our current macOS SDK (`Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`) can be extracted from -[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip) -(alternatively, after login to your account go to "Downloads", then "More" and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip)). -An Apple ID is needed to download this. -The `sha256sum` of the archive should be `612443b1894b39368a596ea1607f30cbb0481ad44d5e29c75edb71a6d2cf050f`. +[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). An Apple ID is needed to download this. + +Alternatively, after logging in to your Apple Developer account, go to 'Downloads' -> 'More' and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). + +The `sha256sum` of the SDK archive file should be `612443b1894b39368a596ea1607f30cbb0481ad44d5e29c75edb71a6d2cf050f`. After Xcode version 7.x, Apple started shipping the `Xcode.app` in a `.xip` archive. This makes the SDK less-trivial to extract on non-macOS machines. OneDrahtBot commented at 4:41 AM on July 22, 2021: member<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #21851 by fanquake
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
darosior commented at 7:54 AM on July 22, 2021: memberWhile touching this file, maybe update these lines as well Or just drop them?
As mentioned afterward by Achow the link isn't dead, but needs cookies to be enabled. Edited to reflect that.
I think it would be useful to mention that cookies for https://download.developer.apple.com/ need to be allowed in order for the actual download link to work. Otherwise you could still login and click the download link and still get a 403.
Done.
so below is a diff and here is a branch with my suggestions
Thanks, took part of it for the english and formatting part.
Diff:
diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md index ad52f7d20e..cdf2b6609f 100644 --- a/contrib/macdeploy/README.md +++ b/contrib/macdeploy/README.md @@ -15,8 +15,10 @@ When complete, it will have produced `Bitcoin-Core.dmg`. Our current macOS SDK (`Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`) can be extracted from -[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip) -(alternatively, after login to your account go to "Downloads", then "More" and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip)). +[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). +Cookies must be enabled for this link to work after logging in. +Alternatively, after logging in to your account go to 'Downloads', then 'More' +and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). An Apple ID is needed to download this. The `sha256sum` of the archive should be `612443b1894b39368a596ea1607f30cbb0481ad44d5e29c75edb71a6d2cf050f`.in contrib/macdeploy/README.md:19 in c015e9d206 outdated
14 | @@ -15,8 +15,10 @@ When complete, it will have produced `Bitcoin-Core.dmg`. 15 | Our current macOS SDK 16 | (`Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`) can be 17 | extracted from 18 | -[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). 19 | +[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip) 20 | +(alternatively, after login to your account go to "Downloads", then "More" and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip)).
luke-jr commented at 7:57 AM on July 22, 2021:Might be good to also note cookies need to be enabled for the hostname.
darosior commented at 8:01 AM on July 22, 2021:Done.
diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md index cdf2b6609f..c2cc7c58b3 100644 --- a/contrib/macdeploy/README.md +++ b/contrib/macdeploy/README.md @@ -16,10 +16,9 @@ Our current macOS SDK (`Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`) can be extracted from [Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). -Cookies must be enabled for this link to work after logging in. Alternatively, after logging in to your account go to 'Downloads', then 'More' and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip). -An Apple ID is needed to download this. +An Apple ID and cookies enabled for the hostname are needed to download this. The `sha256sum` of the archive should be `612443b1894b39368a596ea1607f30cbb0481ad44d5e29c75edb71a6d2cf050f`. After Xcode version 7.x, Apple started shipping the `Xcode.app` in a `.xip`darosior force-pushed on Jul 22, 2021darosior force-pushed on Jul 22, 2021hebasto commented at 8:13 PM on July 22, 2021: memberWhile touching this file, maybe update these lines as well Or just drop them?
As mentioned afterward by Achow the link isn't dead, but needs cookies to be enabled. Edited to reflect that.
Another link points at Xcode_11.3.1 but we use Xcode_12.1 for now.
Imanuelc112 approvedfanquake commented at 2:47 AM on July 29, 2021: memberDo we really need to link to the same
xipfrom 3 different places in this README? Given that half the time the links don't even seem to work (they don't work for me now even when logged in), why not just remove them, or just have one.As mentioned above, can you also update the instance of
Xcode_11.3.1further down, and remove the link there as well. There is some duplication of information in this file, but that doesn't have to be fixed here.f8f772dc49macdeploy: alternative info to download the macOS SDK
The previous link wasn't accessible for me, this adds some instructions given to me by Hebasto on #bitcoin-core-builds as well as a shasum for the archive to quickly check the downloaded one is the right one before processing with the entire Guix build. This also corrects a link to an older version of the SDK currently in use. Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
darosior force-pushed on Jul 29, 2021darosior commented at 9:02 AM on July 29, 2021: memberDo we really need to link to the same xip from 3 different places in this README?
No, i don't think so. I figured adding another link was helpful since it's what worked for me but i definitely don't have any opinion on how to rework this doc. This PR was just meant as a quick tiny link fix as i got through the process..
fanquake approvedfanquake commented at 11:50 AM on July 29, 2021: memberACK f8f772dc495f7d3ee02d75d42ee22ceb90c3a693
fanquake merged this on Jul 29, 2021fanquake closed this on Jul 29, 2021sidhujag referenced this in commit b9e0e0ad38 on Jul 29, 2021PastaPastaPasta referenced this in commit d9ec960820 on Mar 13, 2022DrahtBot locked this on Aug 16, 2022
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:14 UTC
More mirrored repositories can be found on mirror.b10c.me