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
+65-35Lines changed: 65 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -205,9 +205,9 @@ If you get an error when building with a browser, you can use this page to figur
205
205
!!! important "Build Credentials are Invalid"
206
206
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`.
207
207
208
-
You need to delete a Distribution Certificate and try again. See [Revoke Extra Distribution Certificate](bb-errors.md#revoke-extra-distribution-certificate){: target="_blank" }.
208
+
You need to delete a Distribution Certificate and try again. See [Revoke Distribution Certificate](bb-errors.md#revoke-distribution-certificate){: target="_blank" }.
209
209
210
-
> 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.
210
+
> 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 need to be deleted. If your credentials were valid during that time period, you won't see this error.
211
211
212
212
These are some of the most common errors to date.
213
213
@@ -266,7 +266,9 @@ This is an example of a message that is not terribly descriptive - which is why
266
266
267
267
> 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.
268
268
269
-
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`.
269
+
If your certificates expired and you do not have the `ENABLE_NUKE_VARIABLE` configured, you might 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`.
270
+
271
+
Please follow the directions in [Revoke Distribution Certificate](#revoke-distribution-certificate) and build again.
270
272
271
273
{width="800"}
272
274
{align="center"}
@@ -503,7 +505,7 @@ The full error message is:
503
505
504
506
These steps are required to make room for a `Certificate` if you have two Certificates or if you tried to create a new certificate in the May/Jun 2025 time frame when the Browser Build actions were "broken", before `Loop 3.6.1` was released.
505
507
506
-
* Follow the directions to [Revoke Extra Distribution Certificate](#revoke-extra-distribution-certificate)
508
+
* Follow the directions to [Revoke Distribution Certificate](#revoke-distribution-certificate)
507
509
508
510
## Action: `Build Loop` Errors
509
511
@@ -589,7 +591,7 @@ If that exact phrase is found with lines similar to those in [Bundle ID is wrong
589
591
590
592
However, this very similar phrase means you need to delete one or more Distribution Certificates and try again: `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`.
591
593
592
-
* Follow the directions to [Revoke Extra Distribution Certificate](#revoke-extra-distribution-certificate)
594
+
* Follow the directions to [Revoke Distribution Certificate](#revoke-distribution-certificate)
593
595
594
596
#### Bundle ID is wrong
595
597
@@ -758,7 +760,7 @@ This was never an actual error - but a procedure that worked briefly. There is n
758
760
!!! important "Browser Build Temporary Issue is Fixed with `Loop 3.6.2`"
759
761
*Apple* made a modification in May 2025 that impacted Browser Build for builders who needed to renew their certificates or generate Identifiers. With the release of `Loop 3.6.2`, these issues are resolved.
760
762
761
-
It took several weeks for the change at *Apple* to propagate through all the `API Keys`. Thus an adhoc fix worked initially but then stopped working. An update to fastlane (the code the communicates between *Apple* and *GitHub*) is now in the released Loop code (3.6.1 and newer).
763
+
It took several weeks for the change at *Apple* to propagate through all the `API Keys`. Thus an adhoc fix worked initially but then stopped working. An update to fastlane (the code that communicates between *Apple* and *GitHub*) is now in the released Loop code (3.6.1 and newer).
762
764
763
765
We have removed the section on getting a new Fastlane API Key - that is not the solution to what turned out to be a change made by *Apple*.
764
766
@@ -768,50 +770,46 @@ The rest of this section has some steps that may be needed in the future. Do not
768
770
769
771
These help steps might be needed so the documentation is here.
770
772
771
-
### Delete `Match-Secrets`
772
-
773
-
Make sure you really need to do this - please [ask a mentor for help](#where-to-get-help-with-browser-build).
774
-
775
-
Make sure you only delete `Match-Secrets`. Do NOT delete the repository of the app you are trying to build.
776
-
777
-
Open the *GitHub* website for your organization or personal account.
778
-
779
-
``` {.text .copy title="If you use an organization" }
780
-
https://github.com/my-name-org/Match-Secrets
781
-
```
782
-
783
-
```{ .text .copy title="If you do not use an organization" }
784
-
https://github.com/my-name/Match-Secrets
785
-
```
786
-
787
-
1. Delete your `Match-Secrets``Repository`
788
-
* Click on Settings
789
-
* Scroll to the bottom (into the Danger Zone)
790
-
* Choose `Delete this repository`
791
-
* Read and follow directions to delete
792
-
2. The next action you run will automatically create a new Match-Secrets repository for you
793
-
794
-
### Revoke Extra Distribution Certificate
773
+
### Revoke Distribution Certificate
795
774
796
775
Make sure you have the `ENABLE_NUKE_CERTS` variable added and set to `true`. See [Add Variable](prepare-fork.md#add-variable){: target="_blank" } for instructions.
797
776
798
777
This step is done at the *Apple* Developer site; click on this [link](https://developer.apple.com/account/resources/certificates/list).
799
778
800
779
> 
801
780
802
-
If you have two Certificates that have the `Distribution` type, select the oldest one and delete it.
781
+
If you have two Certificates that have the `Distribution` type, most people should delete both.
803
782
804
783
* Carefully examine the Type column - do not delete a Development Certificate
805
-
* 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
806
-
* Click on the oldest Distribution Certificate, select Revoke and confirm. If you have two with the same expiration date, revoke both.
784
+
* Click on a Distribution Certificate, select Revoke and confirm
785
+
* If you have two, revoke both (unless you are a developer who needs two)
786
+
* Other certificates (ignore these):
787
+
* Development Type certificates are associated with an Xcode build for your app; an app on a phone built with Xcode will stop working if you delete that
788
+
* Managed Distribution certificates are generated when you use another method to distribute an app, such as Diawi or uploading an Xcode build from a Mac to TestFlight
789
+
807
790
808
791
You will get an email informing you the certificate was revoked.
809
792
810
-
At this point, you should be able to simply run the Build action and a new Distribution Certificate will be created along with the profiles and build credentials needed.
793
+
Run the Build action and a new Distribution Certificate will be created along with the profiles and build credentials needed.
794
+
795
+
* This is true for Loop, LoopCaregiver, LoopFollow and Trio if you have the ENABLE_NUKE_CERTS variable set to true
811
796
812
797
!!! question "But what about *TestFlight* builds?"
813
798
Previous builds using this method that are already in *TestFlight* are not affected by deleting the `Distribution Certificate`.
814
799
800
+
Do not continue to later sections on this page unless directed or for the following special case:
801
+
802
+
!!! important "Building xDrip4iOS?"
803
+
For xDrip4iOS, the nuke certs capabality is not available (as of 2025-June).
804
+
805
+
For that case, or if you choose not to add the `ENABLE_NUKE_CERTS` variable, please take these additional steps:
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.
@@ -827,7 +825,7 @@ You can navigate between these items by clicking on the links.
827
825
828
826
### Delete Invalid Profiles
829
827
830
-
These instructions are useful if you need to delete one or more profiles.
828
+
You should not need to delete invalid profiles for Loop, LoopCaregiver, LoopFollow and Trio when you have the `ENABLE_NUKE_CERTS` variable set to true. If a mentor suggests you do this, follow these instructions.
831
829
832
830
This step is done at the *Apple* Developer site; click on this [link](https://developer.apple.com/account/resources/profiles/list).
833
831
@@ -847,6 +845,38 @@ Your profiles will be displayed. Under the `Expiration` column, you might see an
Make sure you really need to do this - please [ask a mentor for help](#where-to-get-help-with-browser-build).
851
+
852
+
Make sure you only delete `Match-Secrets`. Do NOT delete the repository of the app you are trying to build.
853
+
854
+
When building Loop, LoopCaregiver, LoopFollow or Trio:
855
+
856
+
* If you just revoked a [Distrbution Certificate](#revoke-extra-distribution-certificate) - please do not delete your `Match-Secrets`
857
+
* Make sure you have `ENABLE_NUKE_CERTS` set to true
858
+
* The next time you try to build, the information in Match-Secrets is used to remove invalid profiles
859
+
* A new Distribution Certificate and new profiles will be generated and your Match-Secrets will be updated
860
+
861
+
When building apps that do not use `ENABLE_NUKE_CERTS`, like xDrip4iOS, you may need to manually delete your profiles and your Match-Secrets repository before trying to run Create Certs followed by Build.
862
+
863
+
Open the *GitHub* website for your organization or personal account.
864
+
865
+
``` {.text .copy title="If you use an organization" }
866
+
https://github.com/my-name-org/Match-Secrets
867
+
```
868
+
869
+
```{ .text .copy title="If you do not use an organization" }
870
+
https://github.com/my-name/Match-Secrets
871
+
```
872
+
873
+
1. Delete your `Match-Secrets``Repository`
874
+
* Click on Settings
875
+
* Scroll to the bottom (into the Danger Zone)
876
+
* Choose `Delete this repository`
877
+
* Read and follow directions to delete
878
+
2. The next action you run will automatically create a new Match-Secrets repository for you
0 commit comments