|
1421 | 1421 | </span> |
1422 | 1422 | </a> |
1423 | 1423 |
|
| 1424 | + <nav class="md-nav" aria-label="Action: Add Identifiers Errors"> |
| 1425 | + <ul class="md-nav__list"> |
| 1426 | + |
| 1427 | + <li class="md-nav__item"> |
| 1428 | + <a href="#error-missing-a-required-attribute" class="md-nav__link"> |
| 1429 | + <span class="md-ellipsis"> |
| 1430 | + Error: missing a required attribute |
| 1431 | + </span> |
| 1432 | + </a> |
| 1433 | + |
| 1434 | +</li> |
| 1435 | + |
| 1436 | + </ul> |
| 1437 | + </nav> |
| 1438 | + |
1424 | 1439 | </li> |
1425 | 1440 |
|
1426 | 1441 | <li class="md-nav__item"> |
|
4231 | 4246 | </span> |
4232 | 4247 | </a> |
4233 | 4248 |
|
| 4249 | + <nav class="md-nav" aria-label="Action: Add Identifiers Errors"> |
| 4250 | + <ul class="md-nav__list"> |
| 4251 | + |
| 4252 | + <li class="md-nav__item"> |
| 4253 | + <a href="#error-missing-a-required-attribute" class="md-nav__link"> |
| 4254 | + <span class="md-ellipsis"> |
| 4255 | + Error: missing a required attribute |
| 4256 | + </span> |
| 4257 | + </a> |
| 4258 | + |
| 4259 | +</li> |
| 4260 | + |
| 4261 | + </ul> |
| 4262 | + </nav> |
| 4263 | + |
4234 | 4264 | </li> |
4235 | 4265 |
|
4236 | 4266 | <li class="md-nav__item"> |
@@ -4519,12 +4549,7 @@ <h3 id="new-builder-validate-secrets-error">New Builder: Validate <abbr title="a |
4519 | 4549 | <li><a href="../prepare-fork/#enter-the-secrets" target="_blank">Enter the <abbr title="a method to securely embed personal information into your fork of LoopWorkspace to enable GitHub to have access required to build Loop">Secrets</abbr></a></li> |
4520 | 4550 | </ul> |
4521 | 4551 | <h3 id="new-builder-add-identifiers-error">New Builder: Add <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr> Error<a class="headerlink" href="#new-builder-add-identifiers-error" title="Anchor link to this Header on this Page">¶</a></h3> |
4522 | | -<p>If you succeeded with Validate <abbr title="a method to securely embed personal information into your fork of LoopWorkspace to enable GitHub to have access required to build Loop">Secrets</abbr>, this should also succeed. If it does not, the most likely problem is with one of these keys. Perhaps when you saved them to your <abbr title="a method to securely embed personal information into your fork of LoopWorkspace to enable GitHub to have access required to build Loop">Secrets</abbr> Reference file, there was a mistake or you used a smart editor that changed a small letter to a capital letter or inserted or removed a line break:</p> |
4523 | | -<ul> |
4524 | | -<li><code>FASTLANE_KEY</code></li> |
4525 | | -<li><code>FASTLANE_KEY_ID</code></li> |
4526 | | -</ul> |
4527 | | -<p>The <code>FASTLANE_KEY</code> can be taken from the <code>p8</code> file you downloaded. The other keys are all able to be copied again from your <em>Apple</em> Developer account page. See <a href="../secrets/#copy-api-key-secrets" target="_blank">Copy <code>API Key Secrets</code></a>.</p> |
| 4552 | +<p>If you succeeded with Validate <abbr title="a method to securely embed personal information into your fork of LoopWorkspace to enable GitHub to have access required to build Loop">Secrets</abbr>, this should also succeed. If it does not, please skip ahead to <a href="#error-missing-a-required-attribute">Error: <code>missing a required attribute</code></a>.</p> |
4528 | 4553 | <p>Do not hesitate to <a href="#where-to-get-help-with-browser-build">ask a mentor for help</a>.</p> |
4529 | 4554 | <h3 id="new-builder-create-certificates-error">New Builder: Create Certificates Error<a class="headerlink" href="#new-builder-create-certificates-error" title="Anchor link to this Header on this Page">¶</a></h3> |
4530 | 4555 | <p>This is one of the hardest ones to solve. If you are getting this, don't be afraid to <a href="#where-to-get-help-with-browser-build">ask a mentor for help</a>. If you want to solve it yourself, a link is coming your way but first read this:</p> |
@@ -4716,7 +4741,41 @@ <h2 id="instructions-to-diagnose-your-errors">Instructions to Diagnose Your Erro |
4716 | 4741 | <h2 id="action-validate-secrets-errors">Action: <code>Validate Secrets</code> Errors<a class="headerlink" href="#action-validate-secrets-errors" title="Anchor link to this Header on this Page">¶</a></h2> |
4717 | 4742 | <p>For Version 3.4 and later - use <a href="#examine-annotation">Examine Annotation</a> and read the annotation.</p> |
4718 | 4743 | <h2 id="action-add-identifiers-errors">Action: <code>Add Identifiers</code> Errors<a class="headerlink" href="#action-add-identifiers-errors" title="Anchor link to this Header on this Page">¶</a></h2> |
4719 | | -<p>For Version 3.4 and later - use <a href="#examine-annotation">Examine Annotation</a> and read the annotation.</p> |
| 4744 | +<h3 id="error-missing-a-required-attribute">Error: <code>missing a required attribute</code><a class="headerlink" href="#error-missing-a-required-attribute" title="Anchor link to this Header on this Page">¶</a></h3> |
| 4745 | +<p>This happens if your <code>FASTLANE_KEY</code> is invalid. You may have copied it incorrectly or there may be some other reason why the value that you correctly copied from your <code>p8</code> file is not working.</p> |
| 4746 | +<p>Copy the words on the line below and paste them into the search function for your action log.</p> |
| 4747 | +<blockquote> |
| 4748 | +<div class="copy highlight"><pre><span></span><code>The provided entity is missing a required attribute - You must provide a value for the attribute |
| 4749 | +</code></pre></div> |
| 4750 | +</blockquote> |
| 4751 | +<p>There were a number of cases recently where the solution was to revoke your <code>FASTLANE_KEY</code>, create a new one and then update these two secrets in your organzation, or in every <abbr title="contains project files and each file's revision history">repository</abbr> if you are using a personal <em><abbr title="an online service for storing repositories, accessible from a browser">GitHub</abbr></em> account to build.</p> |
| 4752 | +<ul> |
| 4753 | +<li><code>FASTLANE_KEY</code></li> |
| 4754 | +<li><code>FASTLANE_KEY_ID</code></li> |
| 4755 | +</ul> |
| 4756 | +<p>Before revoking your key, first make sure that when you saved them to your <abbr title="a method to securely embed personal information into your fork of LoopWorkspace to enable GitHub to have access required to build Loop">Secrets</abbr> Reference file, there was not a mistake. Make sure you are NOT using a smart editor; that can change a small letter to a capital letter. Make sure you did NOT insert or remove a line break and that you copied from the first hyphen to the last hyphen. The 2 keys should look like this:</p> |
| 4757 | +<div class="highlight"><pre><span></span><code>FASTLANE_KEY_ID |
| 4758 | +<looks like this> |
| 4759 | +AAAAAAAAAA |
| 4760 | + |
| 4761 | +FASTLANE_KEY |
| 4762 | +<looks like this> |
| 4763 | +-----BEGIN PRIVATE KEY----- |
| 4764 | +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| 4765 | +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| 4766 | +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| 4767 | +AAAAAAAA |
| 4768 | +-----END PRIVATE KEY----- |
| 4769 | +</code></pre></div> |
| 4770 | +<p>The <code>FASTLANE_KEY</code> can be taken from the <code>p8</code> file you downloaded. The other keys are all able to be copied again from your <em>Apple</em> Developer account page. See <a href="../secrets/#copy-api-key-secrets" target="_blank">Copy <code>API Key Secrets</code></a>.</p> |
| 4771 | +<p>If you decide to revoke the key and start again, see <a href="../secrets/#generate-api-key" target="_blank">Generate <code>API Key</code></a>. You will need to first revoke the existing <code>FASTLANE_KEY</code>:</p> |
| 4772 | +<ul> |
| 4773 | +<li>Select <code>Edit</code></li> |
| 4774 | +<li>Click on the checkbox beside <code>FASTLANE_KEY</code></li> |
| 4775 | +<li>Select <code>Revoke Key</code></li> |
| 4776 | +</ul> |
| 4777 | +<p>Then follow the normal steps detailed in that section to generate a new key and save the updated key and key ID in your <abbr title="a method to securely embed personal information into your fork of LoopWorkspace to enable GitHub to have access required to build Loop">Secrets</abbr> Reference file and in your organization or repositories.</p> |
| 4778 | +<p>Do not hesitate to <a href="#where-to-get-help-with-browser-build">ask a mentor for help</a>.</p> |
4720 | 4779 | <h2 id="action-create-certificates-errors">Action: <code>Create Certificates</code> Errors<a class="headerlink" href="#action-create-certificates-errors" title="Anchor link to this Header on this Page">¶</a></h2> |
4721 | 4780 | <blockquote> |
4722 | 4781 | <p>Reminder - If it is not obvious to you what your error is, please <a href="#where-to-get-help-with-browser-build">ask a mentor for help</a></p> |
|
0 commit comments