Skip to content

Commit 296d892

Browse files
authored
Merge pull request #878 from marionbarker/working-docs
Encourage people to ask mentors for help if needed
2 parents 841d983 + 0030259 commit 296d892

File tree

7 files changed

+80
-19
lines changed

7 files changed

+80
-19
lines changed

docs/browser/bb-errors.md

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,40 @@
11
## Help with Errors
22

3-
If you get an error when building with a browser, use this page to figure out what to do.
3+
!!! important "Get Help, Not Frustrated"
4+
For first-time builders, there are a lot of one-time steps that all have to be correct and many screens look similar.
45

5-
If you are still unsuccessful, then post your request for help along with the link to your repository. For example - this link is used to test the build instructions and generate figures for LoopDocs. You replace your GitHub username where you see `loopdocs-tester`:
6+
If you are updating your build or renewing certificates, the process can be confusing and some error messages can be misleading.
67

7-
* [https://github.com/loopdocs-tester/LoopWorkspace](https://github.com/loopdocs-tester/LoopWorkspace){: target="_blank" }
8+
If you are having trouble, don't hesitate to ask for help.
9+
10+
Please do NOT:
11+
12+
* Spend hours in frustration
13+
* Rename or delete a repository
14+
* Delete your GitHub account
15+
* Remove your App from App Store Connect
16+
17+
### Where to Get Help with Browser Build
18+
19+
These are two places to ask for help, but please choose only one. You may get a faster response from Facebook, but there are mentors on both sites:
20+
21+
* [LoopandLearn Facebook Group](https://www.facebook.com/groups/LOOPandLEARN){: target="_blank" }
22+
* [Zulipchat: Loop: Build Help]( https://loop.zulipchat.com/#narrow/channel/148543-Loop/topic/Browser.20Build){: target="_blank" }
23+
24+
### What Information is Needed for Help
25+
26+
1. Your GitHub username (required):
27+
28+
* You can also provide a link to your repository like the example, but substitute your username for `USERNAME`
29+
* If you are building an app other than Loop, replace LoopWorkspace with the app repository name
30+
31+
```
32+
https://github.com/USERNAME/LoopWorkspace
33+
```
34+
35+
1. A brief summary of the step you are on and what isn't working.
36+
37+
That's all we need to get started.
838
939
Mentors can go to your public&nbsp;_<span translate="no">GitHub repository</span>_, make sure your code is up to date, examine your customizations (if any), then click on the Action tab and view your log files directly.
1040
@@ -16,10 +46,10 @@ Mentors can go to your public&nbsp;_<span translate="no">GitHub repository</span
1646
1747
All that is needed to assist is your link or as a bare minimum your *GitHub* **username**.
1848
19-
But first - try to diagnose it yourself using this page.
20-
2149
### Most Common Mistakes
2250
51+
If you get an error when building with a browser, you can use this page to figure out what to do - but don't be afraid to [ask for help](#help-with-errors).
52+
2353
!!! warning "Just updated?"
2454
If you just updated to version 3.4 from version 3.2.x, you must add a new Identifier.
2555

docs/browser/bb-overview.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@ Instructions to install on a phone are found at:
6363

6464
## What if I get stuck?
6565

66-
Try to:
66+
!!! important "How to Ask for Help"
67+
First time setup should take several hours, but if you are having trouble:
68+
69+
* [Click here to find help](bb-errors.md#help-with-errors){: target="_blank" }.
70+
71+
If you want to solve it yourself, try to:
6772

6873
* Scroll back in the directions and see if you missed a paragraph or step
74+
* Be sure you are copying the exact **names** needed for each step or clicking on the **link** associated with a particular step - many pages look similar
6975
* Compare your display with the <span>graphics in *LoopDocs*</span>
7076
* Is something different or does yours have an error message?
7177
* Does the [Error](bb-errors.md){: target="_blank" } message guide you to the problem and solution?
@@ -81,7 +87,6 @@ If you get an error that you cannot figure out, reach out for help before you ge
8187
* [Most Common Mistakes](bb-errors.md#most-common-mistakes){: target="_blank" }
8288
* With Browser Build, post your *GitHub* LoopWorkspace link and a brief description of your problem
8389

84-
8590
* [Errors with Browser](bb-errors.md){: target="_blank" }
8691

8792
## Update the App

docs/browser/bb-update.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,22 @@ Under ordinary circumstances, you do not *have to* rebuild or update your *Loop*
7777

7878
* [How to Update and Rebuild DIY Loop with a Web Browser](https://www.youtube.com/watch?v=0ipTsiqbbrQ){: target="_blank" }
7979

80+
!!! important "How to Ask for Help"
81+
Updating with Browser Build should be pretty fast and often automatic. Updating certificates (once a year) can sometimes be tricky.
82+
83+
If you are having trouble:
84+
85+
* [Click here to find help](bb-errors.md#help-with-errors){: target="_blank" }.
86+
8087
## Accept Agreements
8188

8289
> This is Step 1 of 6 - it may not always be necessary, but please check every time.
8390
91+
!!! warning "Wait After You Agree"
92+
It typically takes 15 minutes before your updated agreement is available so you can complete your build.
93+
94+
If your build with browser fails, wait longer. An hour wait was reported by one person.
95+
8496
Sign in to your [Apple Developer account](https://developer.apple.com/account){: target="_blank" }. If there are agreements you have not accepted, you will get errors when you try to Build that indicate your *Apple* <code>Secrets</code> are incorrect - that is very unlikely. You may also need to update your credit card information if it has changed, for example, if there is a new expiration date.
8597

8698
* For an update, you do not need to modify the <code>FASTLANE_ISSUER_ID</code>, <code>FASTLANE_KEY_ID</code> or <code>FASTLANE_KEY</code>
@@ -99,11 +111,6 @@ Digital Service Act Compliance
99111
* This is a new requirement that must be completed one time
100112
* See [Digital Service Act Compliance](prepare-app.md#digital-service-act-compliance){: target="_blank" } for instructions
101113

102-
!!! warning "Wait After You Agree"
103-
It typically takes 15 minutes before your updated agreement is available so you can complete your build.
104-
105-
If your build with browser fails, wait longer. An hour wait was reported by one person.
106-
107114
## Renew Certificate
108115

109116
> This is Step 2 of 6 - it is only needed once a year - you should get an email from Apple 30 days before your `Distribution Certificate` expires. (Don't worry if you did not see the email.)
@@ -117,9 +124,11 @@ Digital Service Act Compliance
117124
??? question "Do you want to know more? (Click to open/close)"
118125
This is only a summary - please follow the detailed steps below carefully.
119126

120-
* Delete all your `Distribution Certificates`. Apple only allows you to have 2 of these. So get rid of the old ones so you will be able to create a new one that will last a full year. (Step 1 below.)
127+
* Delete all your certificates that say the type is `Distribution`. Apple only allows you to have 2 of these. So get rid of the old ones so you will be able to create a new one that will last a full year. (Step 1 below.)
128+
129+
* Some people have `Distribution Managed` types listed. These are cloud-managed. An internet search finds this quote: "My general approach to cloud-managed certificates is to ignore them and let Apple’s infrastructure do its thing."
121130

122-
* The Certificate in question is embedded in your `Match-Secrets repository`. In order to proceed, you need to remove the old certificate from `Match-Secrets`. Later this will be automated and can be done without modifying your `Match-Secrets repository`, but for now the easiest way to do that is to just delete the `certs/distribution` folder in your current `Match-Secrets repository`.
131+
* The Certificate in question is embedded in your `Match-Secrets repository`. In order to proceed, you need to remove the old certificate from `Match-Secrets`.
123132

124133
* Finally, for every app that you build with this method, you need to run `Create Certificates` for that app. (Step 4 below.)
125134

@@ -130,11 +139,12 @@ Digital Service Act Compliance
130139

131140
1. Use this link to view your [Apple Developer Certificates](https://developer.apple.com/account/resources/certificates/list){: target="_blank" }
132141
* If your screen shows no Certificates and you see a message "Getting Started with Certificates", your certificate already expired and was removed by *Apple*; so skip ahead to Step 2: Navigate to your `Match-Secrets` Repository
133-
* Carefully examine the `Type` column - do **not** delete a `Development Certificate`
134-
* If you do not have any rows that say `Distribution Certificate`, your certificate already expired and was removed by *Apple*; so skip ahead to Step 2
142+
* Carefully examine the `Type` column - do **not** delete a certificate with type of `Development`
143+
* If you do not have any rows that say the type is `Distribution`, your certificate already expired and was removed by *Apple*; so skip ahead to Step 2
135144
* If your certificate has an expiration date several months in the future - you can wait and renew your certificate later; skip ahead to [Update `Fork`](#update-fork)
136-
* Click each row that has a `Distribution Certificate` and revoke it
145+
* Click each row that has a type of `Distribution` and revoke it
137146
* You will get an email informing you the certificate was revoked
147+
* You can ignore rows with a type of `Distribution Managed`
138148
1. Navigate to your `Match-Secrets` Repository
139149
* You can do this several ways, but one method is demonstrated by the GIF below
140150
* Open the URL for your *GitHub* account (address is `https://github.com/username` where `username` is replaced by your *GitHub* username

docs/browser/certs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ Once you see the green check mark by `Create Certificates`, the next step is to
4141

4242
If this action fails, head over to the errors page. Review these links, identify and fix your error or ask for help.
4343

44+
* [How to Ask for Help](bb-errors.md#help-with-errors){: target="_blank" }
4445
* [Most Common Mistakes](bb-errors.md#most-common-mistakes){: target="_blank" }
4546
* [Create Certificates Errors](bb-errors.md#action-create-certificates-errors){: target="_blank" }.
46-
* [How to Ask for Help](bb-errors.md#help-with-errors){: target="_blank" }

docs/browser/identifiers.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ The `Validate Secrets` &nbsp;<span class=notranslate>Action</span>&nbsp; should
5858
* [Action: Validate Secrets Errors](bb-errors.md#action-validate-secrets-errors){: target="_blank" } tells you what to search for in the file
5959
* Resolve the error and repeat the Action: [Validate Secrets](#validate-secrets)
6060

61+
!!! important "Ask For Help Early"
62+
Please if you are having trouble - [ask for help early by clicking on this link](bb-errors.md#help-with-errors){: target="_blank" }.
63+
6164
!!! tip "Pro Tip: Validate Secrets"
6265
The Action `Validate Secrets` is run every time you do any other action. Technically, you never have to run the action by itself - you could start with `Add Identifiers`.
6366

@@ -102,6 +105,9 @@ The `Add Identifiers` &nbsp;<span class=notranslate>Action</span>&nbsp; should s
102105
* [Action: Add Identifiers Errors](bb-errors.md#action-add-identifiers-errors){: target="_blank" } tells you what to search for in the file
103106
* Resolve the error and repeat the Action: [Add Identifiers](#add-identifiers)
104107

108+
!!! important "Ask For Help Early"
109+
Please if you are having trouble - [ask for help early by clicking on this link](bb-errors.md#help-with-errors){: target="_blank" }.
110+
105111
## Next Step
106112

107113
The next step is to [Prepare the App](prepare-app.md).

docs/browser/intro-summary.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@
5454

5555
## Tips and Tricks
5656

57-
The steps to configure for building with a browser requires a lot of focused attention. Take it in steps and take breaks as needed. Some people prefer a video. Some people prefer more detailed steps on a webpage and others only high-level steps.
57+
The steps to configure for building with a browser require a lot of focused attention. Take it in steps and take breaks as needed. Some people prefer a video. Some people prefer more detailed steps on a webpage and others only high-level steps.
58+
59+
!!! important "How to Ask for Help"
60+
First time setup should take several hours, but if you are having trouble don't get frustrated:
61+
62+
* [Click here to find help](bb-errors.md#help-with-errors){: target="_blank" }.
5863

5964
### The Short Version
6065

docs/browser/prepare-app.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ After creating the identifiers, you will need to
55
1. [Configure](#configure-identifiers-for-loop){: target="_blank" } them to associate the correct App Group with specific identifiers
66
2. [Create](#create-loop-app-in-app-store-connect){: target="_blank" } the *Loop* App.
77

8+
Some people get confused on this page. Many of the links look similar but are actually different pages at *Apple*.
9+
10+
!!! important "Ask For Help Early"
11+
Please if you are having trouble - [ask for help early by clicking on this link](bb-errors.md#help-with-errors){: target="_blank" }.
12+
813
## Configure Identifiers for Loop
914

1015
???+ tip "Background Information (Click to open/close)"

0 commit comments

Comments
 (0)