Skip to content

Commit 4791a1b

Browse files
authored
Merge pull request #858 from marionbarker/working-docs
Streamline instructions for Browser Build; update iOS, macOS, Xcode for Mac Build
2 parents d4d23bc + 173a04c commit 4791a1b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+257
-242
lines changed

docs/browser/bb-overview.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* <span translate="no">Loop 3</span>&nbsp;can be built with a web browser using <span translate="no">GitHub Actions</span>
44
* The app is then installed by you on your phone using the *TestFlight* app
5+
* If you prefer to use *Xcode* on your *Mac*, head over to [Build with *Mac*](../build/overview.md){: target="_blank" }
56

67
## Requirements
78

@@ -23,17 +24,21 @@ To build the&nbsp;_<span translate="no">Loop</span>_&nbsp;app using a browser, y
2324

2425
## Instructions to Build with a Browser
2526

27+
### The Short Version
28+
29+
Complete instructions are found at this link for those comfortable with using *GitHub* and navigating the *Apple Developer* and *Apple App Connect* pages.
30+
31+
* [Using GitHub Actions + FastLane to deploy to TestFlight](https://github.com/LoopKit/LoopWorkspace/blob/main/fastlane/testflight.md){: target="_blank" }
32+
2633
### How-to Video to Build with a Browser
2734

28-
In addition to the pages linked in [Configure to use Browser](#configure-to-use-browser), there is a narrated video of each step needed to build using a browser. (This video shows build steps for version 3.2.3 or older. Some items are simplified for version 3.4.1 and newer.)
35+
In addition to the pages linked below in [Configure to use Browser](#configure-to-use-browser), there is a narrated video of each step needed to build using a browser. (This video shows build steps for version 3.2.3 or older. Some items are simplified for version 3.4.1 and newer.)
2936

3037
* [How to Build the *Loop* App With a Web Browser](https://www.youtube.com/watch?v=kiu5ho0MTW8){: target="_blank" }
3138

32-
Click in the comments for a full index of topics. If you have issues with a step, use the index to advance to the relevant part of the video. Subtitles are in English. You can choose a different language but the automatic translation feature may provide translations that are not completely accurate.
33-
3439
### Configure to use Browser
3540

36-
There is a lot of information in the introduction and summary page. Please don't skip that. it should be read before you begin. The steps on these pages must be completed for you to build an app using a browser:
41+
The steps on these pages must be completed (in order) for you to build an app using a browser:
3742

3843
1. [Introduction and Summary](intro-summary.md){: target="_blank" }
3944
1. [Collect Secrets](secrets.md){: target="_blank" }
@@ -44,6 +49,10 @@ There is a lot of information in the introduction and summary page. Please don't
4449
1. [Build the *Loop* App](build-yml.md){: target="_blank" }
4550
1. [*TestFlight* Users](tf-users.md){: target="_blank" }
4651

52+
The pages of instructions listed above give detailed steps on how to build the *Loop* app. If you are building a different app, you can follow the detailed instructions but will need to know the Fork, App Name, Identifiers and in some cases App Group for the App you intend to build. Once you build one app, subsequent apps are much easier to build.
53+
54+
* [Build Other Apps with Browser](other-apps.md){: target="_blank" }
55+
4756
## Install on Phone
4857

4958
Instructions to install on a phone are found at:

docs/browser/identifiers.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ 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+
!!! tip "Pro Tip: Validate Secrets"
62+
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`.
63+
64+
It is easier for you (or your mentors) to diagnose if there is a problem with the `Secrets` you entered when it is run stand-alone. Once your secrets are good, they should remain good, so this does not need to be repeated.
65+
6166
## <code>Add Identifiers</code>
6267

6368
!!! warning "Update to Version 3.4"
Binary file not shown.
-36.7 KB
Binary file not shown.

docs/browser/intro-summary.md

Lines changed: 25 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
* Use the template to [Save Your Information](intro-summary.md#make-a-secrets-reference-file){: target="_blank" }
1616

17-
A narrated video is available:
17+
If you prefer watching your instructions, a narrated video is available:
1818

1919
* [How to Build the *Loop* App With a Web Browser](https://www.youtube.com/watch?v=kiu5ho0MTW8){: target="_blank" }
2020

@@ -46,42 +46,40 @@
4646

4747
???+ question "FAQs (click to open/close)"
4848
- **Do I need a Mac computer?** No. This can be done on any browser, although it will be easier using a computer or tablet than just using a phone.
49-
- **Isn't it hard to build every 90 days?** The initial setup and installation take a lot of your focused time. But once you build, future updates and builds are automatic. You just need to keep your Apple Developer account up to date. Review any email that says a GitHub action failed - read the error and take action.
49+
- **Isn't it hard to build every 90 days?** The initial setup and installation take a lot of your focused time. But once you build, future updates and builds are automatic. You just need to keep your Apple Developer account up to date. Review any email that says a GitHub action failed - read the error and take action. For more information, see [Automatic Update & Build](automatic.md){: target="_blank" }.
5050
- **Can you explain the new automatic building?** There's a whole page on [Automatic Update & Build](automatic.md){: target="_blank" } for more explanations
5151
- **Can I use this for my child?** You, as the adult, can install using *TestFlight* on your child's phone. The explicit steps are provided at [Install on Phone: *TestFlight* for a Child](phone-install.md#testflight-for-a-child){: target="_blank" }.
5252
- **Can I still use my customizations?** Yes. [Customize using Browser](custom-browser.md){: target="_blank" }
5353
- **Is there a build video?** Yes. [How to Build the *Loop* App With a Web Browser](https://www.youtube.com/watch?v=kiu5ho0MTW8){: target="_blank" }
5454

55-
## Automatic Build of Loop
56-
57-
When you follow the directions to configure building with a browser, for Loop 3.4 and later, you configure your app to automatically build at least once a month. You also configure your app to be updated within one week of a new release, in other words, when the LoopKit/LoopWorkspace main branch is updated. For details, see [Automatic Update & Build](automatic.md){: target="_blank" }.
58-
5955
## Tips and Tricks
6056

6157
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.
6258

63-
### How-to Video to Build with a Browser
59+
### The Short Version
60+
61+
Complete instructions are found at this link for those comfortable with using *GitHub* and navigating the *Apple Developer* and *Apple App Connect* pages.
62+
63+
* [Using GitHub Actions + FastLane to deploy to TestFlight](https://github.com/LoopKit/LoopWorkspace/blob/main/fastlane/testflight.md){: target="_blank" }
64+
65+
### The Video Version
6466

65-
There is a narrated video of each step needed to build using a browser. This video was created for version 3.2.x and some steps have been simplified with version 3.4.x.
67+
If you prefer watching your instructions, there is a narrated video of each step needed to build using a browser. This video was created for version 3.2.x and some steps have been simplified with version 3.4.x.
6668

6769
* [How to Build the *Loop* App With a Web Browser](https://www.youtube.com/watch?v=kiu5ho0MTW8){: target="_blank" }
6870

6971
Click in the comments for a full index of topics. If you have issues with a particular section, use the index to advance to the relevant part of the video. Subtitles are in English. You can choose a different language but the automatic translation feature may provide translations that are not completely accurate.
7072

71-
### Section Summaries
73+
### The Detailed Version
74+
75+
If you prefer seeing step-by-step instructions, those are provided too.
7276

7377
Some sections have a Section Summary for those who just want high-level steps without a lot of graphics. It also provides a high-level view of what you are going to do before you do it.
7478

7579
* To view the summary, click on the summary header
7680
* If the summary is all you need, use the `skip forward` symbol (<span class="loop-big">:material-skip-forward:</span>) to skip to the next instruction
7781
* Or follow the detailed instructions below the summary
7882

79-
### Sparse Instructions
80-
81-
For sparse instructions, with no graphics or hand-holding, click on the link below:
82-
83-
* [LoopWorkspace Build Instructions](https://github.com/LoopKit/LoopWorkspace/blob/main/fastlane/testflight.md){: target="_blank" }
84-
8583
## Save Your Information
8684

8785
**Everyone needs to read this section!**
@@ -151,6 +149,10 @@ through
151149

152150
## SECRETS BELOW:
153151

152+
TEAMID
153+
<looks like this>
154+
AAAAAAAAAA
155+
154156
FASTLANE_ISSUER_ID
155157
<looks like this>
156158
AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA
@@ -177,10 +179,6 @@ MATCH_PASSWORD
177179
<looks like this>
178180
AnyThingYouWant-sameForEveryRepository
179181

180-
TEAMID
181-
<looks like this>
182-
AAAAAAAAAA
183-
184182
## Repository Names for my Fork:
185183

186184
https://github.com/my-github-username/LoopWorkspace
@@ -192,30 +190,24 @@ Add additional apps here if you decide to build any
192190
193191
The <code>*GitHub* Browser Build</code> may use new and unfamiliar **terms**.
194192
193+
These instructions can be used without knowing what any of these terms mean. But if you are curious:
194+
195195
Some of these **terms** have ToolTips, so hover your mouse over those - or review them in the [Glossary](../faqs/glossary.md){: target="_blank" }.
196196
197197
* Some terms in the Glossary are not in alphabetical order to improve logical grouping. All the individual <code>Secrets</code> are listed after <code>Secrets</code> in the Glossary.
198198
199199
* `Actions`: available in your *GitHub* account to build your app (once you configure your repository)
200-
* With `Loop 3`, the actions: `Validate Secrets`, <code>Add Identifiers</code>, `Create Certificates`, and `Build Loop` enable users to build the *Loop* app from a browser on any computer
201-
* If <code>*GitHub* Browser Build</code> Actions are not operating as you expect, check [*GitHub* Status](https://www.githubstatus.com/){: target="_blank" } to see if it is *GitHub* problem.
200+
* You must be logged in to *GitHub* to run the actions
202201
* <code>Secrets</code>: are required to enable *GitHub* to build the *Loop* app using *GitHub* Actions
203202
* Six <code>Secrets</code> must be added to your fork of LoopWorkspace
204203
* These <code>Secrets</code> work for any branch in your fork (`main` or `dev`, for example)
205-
* These <code>Secrets</code> can be added to [Other Apps](other-apps.md){: target="_blank" } configured with the same <code>*GitHub* Browser Build</code> method
206-
* For those who feel confident using *GitHub*, there are optional instructions to configure a free organizational account (for your personal use) that allows you to enter the <code>Secrets</code> only once, see [Use a *GitHub* Organization Account](other-apps.md#use-a-github-organization-account){: target="_blank" }, and have them available for every repository in that organization account
204+
* If you build [Other Apps](other-apps.md){: target="_blank" }, they use the same <code>Secrets</code>
205+
* For those who feel confident using *GitHub*, there are optional instructions to configure a free organizational account (for your personal use) that allows you to enter the <code>Secrets</code> only once and have them available for every repository in that organization account; see [Use a *GitHub* Organization Account](other-apps.md#use-a-github-organization-account){: target="_blank" }
207206
* API `Key`:`Application Programming Interface Key`
208-
* You obtain and save this key from the *Apple Developer* website
207+
* You create an API key from the *Apple Developer* website
209208
* Doing this provides 3 of your <code>Secrets</code>
210-
* It is required to enable your *GitHub* account to interface with *Apple* to create your app
211-
* `Identifiers`: are required to build the *Loop* app with <code>*GitHub* Browser Build</code> (these are automatically generated for you)
212-
* Four Identifier Names must be associated with your `App Group`
213-
* `Loop`, `Loop Intent Extension`, `Loop Status Extension` and `Loop Widget Extension`
214-
* Two Identifier Names will exist but do not require that association
215-
* `WatchApp` and `WatchAppExtension`
216-
* The `Identifier` screen, has **`NAME`** and **`IDENTIFIER`** columns
217-
* If you previously built with Xcode, the items in the **`NAME`** column may start with `XC`
218-
* The items under the **`IDENTIFIER`** column match the table in [Add `App Group` to Identifiers](prepare-app.md#add-app-group-to-identifiers){: target="_blank" }
209+
* These secrets enable your *GitHub* account to interface with *Apple* to create your app
210+
* `Identifiers`: are required to build the *Loop* app with <code>*GitHub* Browser Build</code> (these are automatically generated for you) when you run `Add Identifiers`
219211
* [`App Store Connect`](https://appstoreconnect.apple.com){: target="_blank" }: a website available for *Apple Developer*s to review apps build with your *Apple Developer* account
220212
* Once you purchase an *Apple Developer* annual account, you are an *Apple Developer* and have access to this site
221213
* Most Loopers will not have an App until using the <code>*GitHub* Browser Build</code>

0 commit comments

Comments
 (0)