You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/xcode-settings.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The very first time you open Xcode it may install a package of command line tool
39
39
40
40
* Check that your Command Line Tools installed correctly.
41
41
- First, open Xcode Settings
42
-
* Click on the word **`Xcode`** in the top menu bar (just to the right of the Apple icon in the upper-left corner) and select `Settings` in the drop-down menu
42
+
* Click on the word **`Xcode`** in the top menu bar (just to the right of the Apple icon in the upper-left corner) and select `Settings` in the dropdown menu
43
43
- Then select the `Locations` tab in the Settings window to see the dropdown menu for Command Line Tools. Make sure the Xcode version listed matches what you just installed (not the version in this graphic)
44
44
* If it's blank, use the blue arrows to the right of the Command Line Tools row to select it
Copy file name to clipboardExpand all lines: docs/gh-actions/build-dev-browser.md
+78-20Lines changed: 78 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -74,59 +74,108 @@ If you have already completed the One-Time Changes, skip ahead to [Build `Branch
74
74
75
75
#### Transition to `dev`
76
76
77
-
When updating from _<spantranslate="no">Loop</span>_ 3.2.3 to `dev`, you will need to take some extra steps.
77
+
When updating from _<spantranslate="no">Loop</span>_ 3.2.3 to `dev` (version 3.3.0), you will need to take some extra steps.
78
78
79
79
**We recommend most users leave their default branch as `main`.**
80
80
81
81
* This is the safest choice if you are choosing to build `dev branch` now because you want the bug fixes and features that are found in `dev`
82
82
* When version 3.4.0 is released, most users will return to the building the `main branch`
83
83
* At that time, simply update your `main` branch and return to using released code
84
-
* Each action below requires you to select the `dev` branch in the drop-down menu
84
+
* Each action below requires you to select the `dev` branch in the dropdown menu
85
85
86
86
Here is a summary of the extra steps you will follow as you progress through this section.
87
87
88
-
1. Confirm the status of your <spantranslate="no">*GitHub* Personal Access Token</span>
89
-
* It should be configured with permission scope of `repo, workflow` and to never expire
90
-
* You can check this using directions at [*GitHub* Token](gh-update.md#github-token){: target="_blank" }
91
88
1.[Add and Update `New Identifier`](#add-and-update-new-identifier)
92
89
1.[`Create Certificates`](#create-certificates)
93
90
1.[`Build Loop`](#build-branch)
94
91
95
-
#### Automatic Creation of `alive branch`
96
-
97
-
The `alive branch` is created automatically when you run the `Build Loop` action using the `dev branch` (version 3.3 or later). It is used as part of the automatic build process that will be released with the next version.
98
-
99
-
??? warning "I got an error regarding the `alive branch` (click to open/close)"
100
-
* Sometimes you get an error about the `alive branch`
101
-
* If you do get an error, delete the `alive branch` and run the `Build Loop` action again
102
-
* Use this [GitHub link](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository#deleting-a-branch){: target="_blank" } or ask for help when deleting a branch
103
-
104
92
#### Add and Update New `Identifier`
105
93
106
94
The `bundle ID` for the "`widget`" changed from "`SmallStatusWidget`" to the more descriptive "`LoopWidgetExtension`".
107
95
108
96
* You need to run `Add Identifier` - be sure to select the `dev branch` when you run this action
109
97
* Wait for it to succeed
110
-
* Add the `App Group` to this one new Identifier
98
+
99
+
??? tip "For detailed instructions (Click to open/close)"
100
+
Refer to the graphic below for the numbered steps:
101
+
102
+
1. Click on the `Actions` tab of your <code>LoopWorkspace</code> repository
103
+
1. On the left side, click on 2. <code>Add Identifiers</code>
104
+
1. On the right side, click `Run Workflow` to show a dropdown menu
105
+
* You will see your default branch (typically this is `main`)
106
+
* You should select the `dev` branch in the dropdown menu near the word `Optional` in the graphic
107
+
1. Tap the green button that says `Run workflow`.
108
+
109
+
{width="700"}
110
+
{align="center"}
111
+
112
+
The `Add Identifiers` <span class=notranslate>Action</span> should succeed or fail in a few minutes. Do not continue to the next step until this one succeeds.
113
+
114
+
* If you see the green check (:octicons-check-circle-fill-16:{: .passed }) continue to the next section
115
+
* If you see the red `X` (:octicons-x-circle-fill-16:{: .failed }):
116
+
* [Examine the Error](gh-errors.md#examine-the-error) tells how to view the file needed to diagnose your problem.
117
+
* [Action: Add Identifiers Errors](gh-errors.md#action-add-identifiers-errors) tells you what to search for in the file
118
+
* Resolve the error and repeat the Action: [Add Identifiers](#add-identifiers)
119
+
120
+
#### Add `App Group` to New `Identifier`
121
+
122
+
* Open the [Certificates, Identifiers & Profiles: Identifiers List](https://developer.apple.com/account/resources/identifiers/list){: target="_blank" } page.
123
+
* Add the `Loop App Group` to the new "`LoopWidgetExtension`" identifier
* Open the [Certificates, Identifiers & Profiles: Identifiers List](https://developer.apple.com/account/resources/identifiers/list){: target="_blank" } page.
117
-
* Click on the "`LoopWidgetExtension`" identifier
118
-
* Edit the App Group to include `group.com.TEAMID.loopkit.LoopGroup` where you use your `TEAMID`
129
+
??? tip "For detailed instructions (Click to open/close)"
130
+
* Open the [Certificates, Identifiers & Profiles: Identifiers List](https://developer.apple.com/account/resources/identifiers/list){: target="_blank" } page.
131
+
* Click on the "`LoopWidgetExtension`" identifier to open the `Edit Your App ID Configuration` screen.
132
+
133
+
Looking at the `App Services` column, scroll down to the `App Groups` row
119
134
120
-
??? tip "Other Identifiers (Click to Open/Close)"
135
+
* Ensure the check box (under the `Capabilities column`) for `App Groups` is checked
136
+
* If the word `Edit` shows up under `NOTES`, return to the identifiers list
137
+
* Tap on the `< All Identifiers` button at the top left
138
+
* If the word `Configure` shows up, tap on it
139
+
* This opens the `App Group Assignment` screen
140
+
* Check the box by `Loop App Group` that uses your `TEAMID` in `group.com.TEAMID.loopkit.LoopGroup` and then `Continue`
141
+
142
+
If you had to modify the identifier, the `Save` button at the top right will become active
143
+
144
+
* Tap on `Save`
145
+
* This opens the `Modify App Capabilities confirmation` screen
146
+
* Click on `Confirm`
147
+
148
+
If you did not need to make changes, the `Save` button will not be active.
149
+
150
+
* Tap on the `< All Identifiers` button at the top left
151
+
152
+
The full list of Identifiers should be displayed again.
153
+
154
+
!!! note "Other Identifiers"
121
155
All other identifiers should be already set up.
122
156
123
157
* If they are not, refer to [Configure to Use Browser: Add App Group to Identifiers](gh-first-time.md#add-app-group-to-identifiers){: target="_blank" }
124
-
* With the `dev branch`, only the App Group needs to be added; all other `Identifier` settings are automatically included.
125
158
126
159
#### Create Certificates
127
160
128
161
You must run the action `Create Certificates` again because the `Identifiers` were updated. Be sure that you run this for the `dev branch`
129
162
163
+
??? tip "For detailed instructions (Click to open/close)"
164
+
Refer to the graphic below for the numbered steps:
165
+
166
+
1. Click on the "<code>Actions</code>" tab of your <code>LoopWorkspace</code> repository
167
+
1. On the left side, click on "`Create Certificates`"
168
+
1. On the right side, click "`Run Workflow`" to show a dropdown menu
169
+
* You will see your default branch (typically `main`)
170
+
* You should select the `dev` branch in the dropdown menu near the word `Optional` in the graphic
171
+
1. Tap the green button that says "`Run workflow`".
172
+
173
+
{width="700"}
174
+
{align="center"}
175
+
176
+
1. Wait a minute or two for the action to finish
177
+
* If this action fails, head over to [Action: 3. Create Certificates Errors](gh-errors.md#action-create-certificates-errors)
178
+
130
179
### Build `Branch`
131
180
132
181
> **We recommend most users leave their default branch as `main`.**
@@ -144,6 +193,15 @@ If you have one branch as default, for example `main`, and choose to build a dif
144
193
* Refresh the browser if you are unsure if the action started
145
194
* Do not start a new action until the first one completes
146
195
196
+
#### Automatic Creation of `alive branch`
197
+
198
+
The `alive branch` is created automatically when you run the `Build Loop` action using the `dev branch` (version 3.3 or later). It is used as part of the automatic build process that will be released with the next version.
199
+
200
+
??? warning "I got an error regarding the `alive branch` (click to open/close)"
201
+
* Sometimes you get an error about the `alive branch`
202
+
* If you do get an error, delete the `alive branch` and run the `Build Loop` action again
203
+
* Use this [GitHub link](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository#deleting-a-branch){: target="_blank" } or ask for help when deleting a branch
204
+
147
205
## Automatic Update & Build
148
206
149
207
The automatic update and build features of the development branch are only available if you set the `dev` branch as your default branch. Be sure to read the [Automatic Update & Build](automatic.md) if you did this.
0 commit comments