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/browser/bb-errors.md
+22-17Lines changed: 22 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -206,9 +206,11 @@ There are, however, a few intermittent errors that can happen when *GitHub* and
206
206
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).
207
207
208
208
!!! important "Build Credentials are Invalid"
209
-
If you are a repeat builder and you get this build error message: `No code signing identity found and`. The phrase ends with `can not create a new one because you enabled readonly` but the `readonly` has backquotes around it. Sometimes, the phrase uses `cannot` and in other cases `can not`. This means you need to delete a Distribution Certificate and try again. See [Revoke Extra Distribution Certificate](bb-errors.md#revoke-extra-distribution-certificate){: target="_blank" }.
209
+
If you are a repeat builder and you get this build error message: `No code signing identity found and`. The phrase ends with `can not create a new one because you enabled readonly` but the `readonly` has backquotes around it. Sometimes, the phrase uses `cannot` and in other cases `can not`.
210
210
211
-
* A number of people who tried to update certificates after *Apple* changed things in May and before Loop 3.6.1 was released, may have Distribution Certificates that are not properly matched to profiles to create building credentials in their Match-Secrets repository
211
+
You need to delete a Distribution Certificate and try again. See [Revoke Extra Distribution Certificate](bb-errors.md#revoke-extra-distribution-certificate){: target="_blank" }.
212
+
213
+
> A number of people who tried to update certificates after *Apple* changed things in May and before Loop 3.6.1 was released, may have Distribution Certificates that are not properly matched to profiles to create building credentials in their Match-Secrets repository. The solution is to simply delete a Distribution Certificate and Build again.
212
214
213
215
These are some of the most common errors to date.
214
216
@@ -265,11 +267,11 @@ This is an example of a message that is not terribly descriptive - which is why
265
267
266
268
### Missing Certificates
267
269
268
-
> With `Loop 3.6.0` or newer, certificates are automatically renewed if your developer account is up to date, all agreements are signed and you completed the new [Add Variable](prepare-fork.md#add-variable){: target="_blank" } step.
270
+
> With `Loop 3.6.1` or newer, certificates are automatically renewed if your developer account is up to date, all agreements are signed and you completed the new [Add Variable](prepare-fork.md#add-variable){: target="_blank" } step.
269
271
270
272
If your certificates have expired and you do not have the ENABLE_NUKE_VARIABLE configured, you will see this error when you try to build. It does not have a clear annotation. The error string starts with: `No code signing identity found and`. The phrase ends with `can not create a new one because you enabled readonly` but the `readonly` has backquotes around it. Sometimes, the phrase uses `cannot` and in other cases `can not`.
271
273
272
-
> The first automatic build when Loop 3.6.0 is released will update the files required for automatic certificate creation. The next automatic build will use the new files. So if the first attempt with Loop 3.6.0 fails, try again.
274
+
> The first automatic build when Loop 3.6.x is released will update the files required for automatic certificate creation. The next automatic build will use the new files. So if the first attempt with Loop 3.6.x fails, try again.
273
275
274
276
{width="800"}
275
277
{align="center"}
@@ -611,10 +613,6 @@ However, this very similar phrase means you need to delete one or more Distribut
611
613
612
614
* Follow the directions to [Revoke Extra Distribution Certificate](#revoke-extra-distribution-certificate)
613
615
614
-
> If you attempted to create certificates or build during May/June 2025 while the fastlane issues were not fixed, you may very well have one or two Distribution Certificates in your account that are not properly matched to credentials in your Match-Secrets repository. They must be deleted manually.
615
-
616
-
> Do not be confused by this message: `There are no local code signing identities found.` That is always reported one time because you are building with a new computer in the cloud that does not yet have your code signing identities. Later on in the build process, the action will recover the code signing identities that you stored in your Match-Secrets.
617
-
618
616
#### Bundle ID is wrong
619
617
620
618
This is not typical and will only be seen for the very first build if you entered an incorrect TEAMID.
@@ -829,20 +827,27 @@ If you have two Certificates that have the `Distribution` type, select the oldes
829
827
* If you accidentally delete a Development Type certificate associated with an Xcode build for your app, it will stop working and you will be very sad
830
828
* Click on the oldest Distribution Certificate, select Revoke and confirm. If you have two with the same expiration date, revoke both.
831
829
832
-
You will get an email informing you the certificate was revoked
830
+
You will get an email informing you the certificate was revoked.
831
+
832
+
At this point, you should be able to simple run the Build action and a new Distribution Certificate will be created along with the profiles and build credential needed.
833
833
834
-
!!! tip "Navigate with Menu"
835
-
On the left side, you see a menu that indicates Certificates, Identifiers, Keys and Profiles. You can navigate between these items by clicking on the links.
834
+
### Navigate with Menu
836
835
837
-
* Certificates (this section)
838
-
* Identifiers (you used those when adding the App Group)
839
-
* Keys
840
-
* Access to the *Apple* Push Notification Keys used by people to enable remote control
841
-
* The `FastLane API Key` is at the App Store Connect site - not at this site
842
-
* Profiles (next section)
836
+
Once you open the *Apple* Developer site for Certificates: [link](https://developer.apple.com/account/resources/certificates/list), you can move around in the menu to get to Certificates, Identifiers, Keys and Profiles.
837
+
838
+
You can navigate between these items by clicking on the links.
839
+
840
+
* Certificates (previous section)
841
+
* Identifiers (you used those when adding the App Group)
842
+
* Keys
843
+
* Access to the *Apple* Push Notification Keys used by people to enable remote control using Nightscout, LoopCaregiver or LoopFollow
844
+
* The `FastLane API Key` is at the App Store Connect site - not at this site
845
+
* Profiles (next section)
843
846
844
847
### Delete Invalid Profiles
845
848
849
+
These instructions are useful if you need to delete one or more profiles.
850
+
846
851
This step is done at the *Apple* Developer site; click on this [link](https://developer.apple.com/account/resources/profiles/list).
847
852
848
853
Your profiles will be displayed. Under the `Expiration` column, you might see an expiration date, even if some of these are invalid because you just revoked a certificate, or you might see `Invalid`.
0 commit comments