Skip to content

Conversation

jarolrod
Copy link
Member

@jarolrod jarolrod commented Feb 2, 2022

The explicit statement that an Apple Developer Account is required in order to obtain the SDK is buried within the Deterministic macOS DMG Notes section. It should be the first thing mentioned under the SDK Extraction section.
The reason to do this is to set expectations of what is required before starting any steps or clicking on links.

This fixes the issue by doing just that; moving this information to the SDK Extraction section. Now that the information is moved, this also deletes unnecessary SDK related notes from the Deterministic macOS DMG Notes section. It is not necessary to explain under what sub-directory 'most' of the important files are inside of the Xcode.app.

Note that this also fixes a missed Xcode version link bump by deleting it :)

@RandyMcMillan
Copy link
Contributor

NIT:

commit: RandyMcMillan@118f821

update the term "look for" to "search for" with the actual search link.

This is the result of clicking on the updated link:

Screen Shot 2022-02-02 at 5 24 51 PM

commit: RandyMcMillan@118f821 as patch:

diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md
index ef8c1f430c..31288284b7 100644
--- a/contrib/macdeploy/README.md
+++ b/contrib/macdeploy/README.md
@@ -19,7 +19,7 @@ Our current macOS SDK
 extracted from
 [Xcode_12.2.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.2/Xcode_12.2.xip).
 Alternatively, after logging in to your account go to 'Downloads', then 'More'
-and look for [`Xcode_12.2`](https://download.developer.apple.com/Developer_Tools/Xcode_12.2/Xcode_12.2.xip).
+and search for [`Xcode 12.2`](https://developer.apple.com/download/all/?q=Xcode%2012.2).
 An Apple ID and cookies enabled for the hostname are needed to download this.
 The `sha256sum` of the archive should be `28d352f8c14a43d9b8a082ac6338dc173cb153f964c6e8fb6ba389e5be528bd0`.

@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 3, 2022

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

No conflicts as of last run.

Copy link
Member

@Sjors Sjors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

@RandyMcMillan's suggestion to replace the link with a search URL makes sense. Apple doesn't believe in statelessness, so the direct link doesn't work until you perform the right rituals on their site.

Copy link
Contributor

@brunoerg brunoerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK

I agree with @Sjors in mentioning that Apple Developer Account is free.

@fanquake
Copy link
Member

fanquake commented Feb 9, 2022

Concept ACK - can you incorporate the suggestions here

The explicit statement that an Apple Developer Account is required in
order to obtain the SDK is buried within the "Deterministic macOS DMG
Notes" section. It should be the first thing mentioned under the "SDK
Extraction" section. The reason to do this is to set expectations of
what is required before starting any steps or clicking on links.

This fixes the issue by doing just that; moving this information to the
"SDK Extraction" section. Now that the information is moved, this also
deletes unnecessary SDK related notes from the "Deterministic macOS DMG
Notes" section. It is not necessary to explain under what sub-directory
'most' of the important files are inside of the 'Xcode.app'.
@jarolrod jarolrod force-pushed the macdeploy-readme-cleanups branch from b2dcf36 to ddcac22 Compare February 11, 2022 04:55
@jarolrod
Copy link
Member Author

updated from b2dcf36 -> ddcac22 (pr24241.01 -> pr24241.02, diff)

Thanks everyone for the reviews! Incorporated review feedback, here's a convenient diff of the changes:

diff --git a/contrib/macdeploy/README.md b/contrib/macdeploy/README.md
index ef8c1f430..ce69079e2 100644
--- a/contrib/macdeploy/README.md
+++ b/contrib/macdeploy/README.md
@@ -12,14 +12,14 @@ When complete, it will have produced `Bitcoin-Core.dmg`.
 
 ### Step 1: Obtaining `Xcode.app`
 
-An Apple Developer Account is required to proceed.
+A free Apple Developer Account is required to proceed.
 
 Our current macOS SDK
 (`Xcode-12.2-12B45b-extracted-SDK-with-libcxx-headers.tar.gz`) can be
 extracted from
 [Xcode_12.2.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.2/Xcode_12.2.xip).
 Alternatively, after logging in to your account go to 'Downloads', then 'More'
-and look for [`Xcode_12.2`](https://download.developer.apple.com/Developer_Tools/Xcode_12.2/Xcode_12.2.xip).
+and search for [`Xcode_12.2`](https://developer.apple.com/download/all/?q=Xcode%2012.2).
 An Apple ID and cookies enabled for the hostname are needed to download this.
 The `sha256sum` of the archive should be `28d352f8c14a43d9b8a082ac6338dc173cb153f964c6e8fb6ba389e5be528bd0`.

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ddcac22

@fanquake fanquake merged commit 5f7f2f7 into bitcoin:master Feb 11, 2022
@fanquake fanquake added the macOS label Feb 11, 2022
@jarolrod jarolrod deleted the macdeploy-readme-cleanups branch February 11, 2022 15:36
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 11, 2022
… obtain macOS SDK

ddcac22 doc: cleanup doc on need of Developer Account to obtain macOS SDK (jarolrod)

Pull request description:

  The explicit statement that an Apple Developer Account is required in order to obtain the SDK is buried within the `Deterministic macOS DMG Notes` section. It should be the first thing mentioned under the `SDK Extraction` section.
  The reason to do this is to set expectations of what is required before starting any steps or clicking on links.

  This fixes the issue by doing just that; moving this information to the `SDK Extraction` section. Now that the information is moved, this also deletes unnecessary SDK related notes from the `Deterministic macOS DMG Notes` section. It is not necessary to explain under what sub-directory 'most' of the important files are inside of the `Xcode.app`.

  Note that this also fixes a missed Xcode version link bump by deleting it :)

ACKs for top commit:
  fanquake:
    ACK ddcac22

Tree-SHA512: 9fe7fddd66b68a0475be8b0c78cb58932bf5b68d962ece36a86f3b743a88d8561c0ec3e8d88bcaf338da7ab9d3dfcfb9399f6e1a884d83c8f3117c186d049469
@bitcoin bitcoin locked and limited conversation to collaborators Feb 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants