|
481 | 481 | </span> |
482 | 482 | </a> |
483 | 483 | </li> |
| 484 | +<li class="md-nav__item"> |
| 485 | +<a class="md-nav__link" href="#archaic-instructions"> |
| 486 | +<span class="md-ellipsis"> |
| 487 | + |
| 488 | + Archaic Instructions |
| 489 | + |
| 490 | + </span> |
| 491 | +</a> |
| 492 | +<nav aria-label="Archaic Instructions" class="md-nav"> |
| 493 | +<ul class="md-nav__list"> |
| 494 | +<li class="md-nav__item"> |
| 495 | +<a class="md-nav__link" href="#update-from-loopfollow-v3x"> |
| 496 | +<span class="md-ellipsis"> |
| 497 | + |
| 498 | + Update from LoopFollow v3.x |
| 499 | + |
| 500 | + </span> |
| 501 | +</a> |
| 502 | +</li> |
| 503 | +</ul> |
| 504 | +</nav> |
| 505 | +</li> |
484 | 506 | </ul> |
485 | 507 | </nav> |
486 | 508 | </li> |
|
692 | 714 | </span> |
693 | 715 | </a> |
694 | 716 | </li> |
| 717 | +<li class="md-nav__item"> |
| 718 | +<a class="md-nav__link" href="#archaic-instructions"> |
| 719 | +<span class="md-ellipsis"> |
| 720 | + |
| 721 | + Archaic Instructions |
| 722 | + |
| 723 | + </span> |
| 724 | +</a> |
| 725 | +<nav aria-label="Archaic Instructions" class="md-nav"> |
| 726 | +<ul class="md-nav__list"> |
| 727 | +<li class="md-nav__item"> |
| 728 | +<a class="md-nav__link" href="#update-from-loopfollow-v3x"> |
| 729 | +<span class="md-ellipsis"> |
| 730 | + |
| 731 | + Update from LoopFollow v3.x |
| 732 | + |
| 733 | + </span> |
| 734 | +</a> |
| 735 | +</li> |
| 736 | +</ul> |
| 737 | +</nav> |
| 738 | +</li> |
695 | 739 | </ul> |
696 | 740 | </nav> |
697 | 741 | </div> |
@@ -728,7 +772,6 @@ <h2 id="summary-of-steps-to-build-loopfollow">Summary of Steps to Build <em><abb |
728 | 772 | <li><code>Fork</code> the <abbr title="contains project files and each file's revision history">repository</abbr> to your organization</li> |
729 | 773 | <li>Open your <code>fork</code> and enable Actions</li> |
730 | 774 | <li><code>Add Identifiers</code></li> |
731 | | -<li>Update <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr></li> |
732 | 775 | <li>Add the App in App Store Connect and configure <abbr title="a method to distribute apps without direct connection">TestFlight</abbr> users</li> |
733 | 776 | <li><code>Build LoopFollow</code></li> |
734 | 777 | </ol> |
@@ -885,24 +928,6 @@ <h2 id="review-app-identifier">Review App Identifier<a class="headerlink" href=" |
885 | 928 | <blockquote> |
886 | 929 | <p>If you build from a second or third <code>repository</code> for <code>LoopFollow</code>, the Name will end in <code>Second</code> or <code>Third</code> and Bundle ID will have <code>.Second</code> or <code>.Third</code> at the end.</p> |
887 | 930 | </blockquote> |
888 | | -<h4 id="add-push-notifications-capability-to-loopfollow-identifiers">Add Push Notifications Capability to <abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr> <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr><a class="headerlink" href="#add-push-notifications-capability-to-loopfollow-identifiers" title="Link to this section for reference">¶</a></h4> |
889 | | -<p>For <abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr> 4.0 and later, you must manually enable the Push Notifications capabilty for the <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> Identifier. </p> |
890 | | -<p>The example graphic below has numbered steps that match these directions:</p> |
891 | | -<p>Click to open the <a href="https://developer.apple.com/account/resources/identifiers/list">Certificates, <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr> & Profiles: <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr> List</a> page. </p> |
892 | | -<ol> |
893 | | -<li>Locate the <abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr> Identifer and click on it to open the <code>Edit your App ID Configuration</code> screen<ul> |
894 | | -<li>The name in the <strong><code>NAME</code></strong> column may be different if you previously built with a Mac using <abbr title="program used to build an app">Xcode</abbr>, in that case it will start with XC</li> |
895 | | -</ul> |
896 | | -</li> |
897 | | -<li>Looking at the <code>App Services</code> column, scroll down to the <code>Push Notifications</code> row</li> |
898 | | -<li>If the check box is not checked, you must check it</li> |
899 | | -<li>Scroll back to the top and hit Save if you modified that value or All <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr> if you made no changes</li> |
900 | | -</ol> |
901 | | -<p>If you made a change and hit Save, you then need to Tap <code>Continue</code> and Tap <code>Save</code> to complete the process.</p> |
902 | | -<blockquote> |
903 | | -<p><img alt="graphic showing selection of the push notifications" src="../img/add-push-notifications.svg" width="600"/></p> |
904 | | -</blockquote> |
905 | | -<p>Repeat this step if you use LoopFollow_Second or LoopFollow_Third.</p> |
906 | 931 | <hr/> |
907 | 932 | <h2 id="create-app-in-app-store-connect">Create App in App Store Connect<a class="headerlink" href="#create-app-in-app-store-connect" title="Link to this section for reference">¶</a></h2> |
908 | 933 | <p>You must create an App in App Store Connect if you don't already have one.</p> |
@@ -1008,6 +1033,79 @@ <h3 id="build-errors">Build Errors<a class="headerlink" href="#build-errors" tit |
1008 | 1033 | </div> |
1009 | 1034 | <h2 id="install-on-phone">Install on Phone<a class="headerlink" href="#install-on-phone" title="Link to this section for reference">¶</a></h2> |
1010 | 1035 | <p>The <a href="https://loopkit.github.io/loopdocs/browser/phone-install">LoopDocs instructions: Install on Phone</a> walk you through the steps to install the app to a phone. When going through those steps, replace your App Name for <em><span translate="no"><abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr></span></em>. Everything else is the same.</p> |
| 1036 | +<div class="admonition success"> |
| 1037 | +<p class="admonition-title">Adding Push Notifications Simplified with v4.4</p> |
| 1038 | +<p>Provided in <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> v4.4 and newer, you can run Add <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr> to add the required <code>Push Notifications</code> capability.</p> |
| 1039 | +<p>For <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> v4.0 through 4.3, you had to manually add that capability to the Identifier. Thanks to our friends at fastlane, who updated their tool, this manual action is no longer necessary.</p> |
| 1040 | +</div> |
| 1041 | +<h2 id="archaic-instructions">Archaic Instructions<a class="headerlink" href="#archaic-instructions" title="Link to this section for reference">¶</a></h2> |
| 1042 | +<p>Given that a Browser Build must be rebuilt every 90 days, the instructions here are unlikely to be required.</p> |
| 1043 | +<h3 id="update-from-loopfollow-v3x">Update from <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> v3.x<a class="headerlink" href="#update-from-loopfollow-v3x" title="Link to this section for reference">¶</a></h3> |
| 1044 | +<p>When updating from an older version of <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em>, v3.x or older, you need to add the <code>Push Notification</code> to the Identifier Capabilities:</p> |
| 1045 | +<ul> |
| 1046 | +<li><a href="#sync-your-fork">Sync Your Fork</a></li> |
| 1047 | +<li><a href="#run-add-identifiers">Run Add <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr></a> to add the new capability</li> |
| 1048 | +<li><a href="#build-your-app">Build Your App</a></li> |
| 1049 | +</ul> |
| 1050 | +<blockquote> |
| 1051 | +<p>Repeat these steps if you use LoopFollow_Second or LoopFollow_Third.</p> |
| 1052 | +</blockquote> |
| 1053 | +<h4 id="sync-your-fork">Sync Your Fork<a class="headerlink" href="#sync-your-fork" title="Link to this section for reference">¶</a></h4> |
| 1054 | +<ul> |
| 1055 | +<li>Go to your <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> <abbr title="a copy of code in a github repository other than the original">fork</abbr> and click on the Sync button</li> |
| 1056 | +</ul> |
| 1057 | +<blockquote> |
| 1058 | +<p><img alt="sync the fork" src="../img/github-build-check-fork-status.svg" width="700"/></p> |
| 1059 | +</blockquote> |
| 1060 | +<h4 id="run-add-identifiers">Run Add <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr><a class="headerlink" href="#run-add-identifiers" title="Link to this section for reference">¶</a></h4> |
| 1061 | +<ul> |
| 1062 | +<li>In your <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> <abbr title="a copy of code in a github repository other than the original">fork</abbr>, select the Action tab and run the Add <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr> Action</li> |
| 1063 | +<li>Wait for a successful completion before trying to Build.</li> |
| 1064 | +</ul> |
| 1065 | +<details class="abstract"> |
| 1066 | +<summary>Detailed Instructions to Run Add <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr> (Click to open/close)</summary> |
| 1067 | +<p>Refer to the graphic below for the numbered steps:</p> |
| 1068 | +<ol> |
| 1069 | +<li>Click on the "Actions" tab of your <abbr title="contains project files and each file's revision history">repository</abbr></li> |
| 1070 | +<li>On the left side, click on "Add <abbr title="names of modules found on your Apple Developer Identifiers page that are required for GitHub build method">Identifiers</abbr>"</li> |
| 1071 | +<li>On the right side, click "Run Workflow" to show a dropdown menu<ul> |
| 1072 | +<li>You will see your default <abbr title="version of code within a single repository or workspace repository">branch</abbr> (<code>main</code>)</li> |
| 1073 | +<li>You can select a different <abbr title="version of code within a single repository or workspace repository">branch</abbr>, but typically, you run the default</li> |
| 1074 | +</ul> |
| 1075 | +</li> |
| 1076 | +<li> |
| 1077 | +<p>Tap the green button that says "Run <abbr title="a set of instructions to GitHub to perform an action; the instruction files are found in the .github/workflows folder of the repository">workflow</abbr>"</p> |
| 1078 | +<p align="center"><img alt="add identifiers using github actions" src="../img/action-02-add-identifiers.svg" width="700"/></p> |
| 1079 | +</li> |
| 1080 | +</ol> |
| 1081 | +<p>The <code>Add Identifier</code> <span class="notranslate">Action</span> should succeed or fail in a few minutes.</p> |
| 1082 | +<ul> |
| 1083 | +<li>If you see the green check (<span class="twemoji passed"><svg viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16m3.78-9.72a.75.75 0 0 0-.018-1.042.75.75 0 0 0-1.042-.018L6.75 9.19 5.28 7.72a.75.75 0 0 0-1.042.018.75.75 0 0 0-.018 1.042l2 2a.75.75 0 0 0 1.06 0Z"></path></svg></span>) continue to the next section</li> |
| 1084 | +<li>If you see the red <code>X</code> (<span class="twemoji failed"><svg viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657M6.03 4.97a.75.75 0 0 0-1.042.018.75.75 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.75.75 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.75.75 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.75.75 0 0 0-.734.215L8 6.94Z"></path></svg></span>):<ul> |
| 1085 | +<li>Use the Browser Build Errors page to resolve the error, then repeat the Action</li> |
| 1086 | +<li><a href="https://loopkit.github.io/loopdocs/browser/bb-errors/#quick-reference-for-browser-build-errors">Quick Reference for Browser Build Errors</a></li> |
| 1087 | +</ul> |
| 1088 | +</li> |
| 1089 | +</ul> |
| 1090 | +</details> |
| 1091 | +<h4 id="build-your-app">Build Your App<a class="headerlink" href="#build-your-app" title="Link to this section for reference">¶</a></h4> |
| 1092 | +<ul> |
| 1093 | +<li>In your <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> <abbr title="a copy of code in a github repository other than the original">fork</abbr>, select the Action tab and run the Build <abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr> Action</li> |
| 1094 | +<li>Wait for a successful completion and wait for the <abbr title="a method to distribute apps without direct connection">TestFlight</abbr> upload (timing varies from a few minutes to a few hours) until trying to install the new build on your phone</li> |
| 1095 | +</ul> |
| 1096 | +<details class="abstract"> |
| 1097 | +<summary>Detailed Instructions to Build <abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr> (Click to open/close)</summary> |
| 1098 | +<ol> |
| 1099 | +<li>Click on the Actions tab of your <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> <abbr title="contains project files and each file's revision history">repository</abbr></li> |
| 1100 | +<li>On the left side, click on <code>4. Build LoopFollow</code></li> |
| 1101 | +<li>On the right side, click Run Workflow to show a dropdown menu</li> |
| 1102 | +<li>Tap the green button that says Run <abbr title="a set of instructions to GitHub to perform an action; the instruction files are found in the .github/workflows folder of the repository">workflow</abbr>.</li> |
| 1103 | +</ol> |
| 1104 | +<blockquote> |
| 1105 | +<p><img alt="add identifiers" src="../img/action-04-build.svg" width="700"/></p> |
| 1106 | +</blockquote> |
| 1107 | +</details> |
| 1108 | +<p><strong>Once this completes, be sure to update from <abbr title="a method to distribute apps without direct connection">TestFlight</abbr> to get the updated version of <em><abbr title="LoopFollow combines custom alerts and display from many open-source apps such as Loop, Trio and Nigthscout">LoopFollow</abbr></em> on your phone.</strong></p> |
1011 | 1109 | </article> |
1012 | 1110 | </div> |
1013 | 1111 | <script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var labels=set.querySelector(".tabbed-labels");for(var tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script> |
|
0 commit comments