Skip to content

Commit 5919701

Browse files
committed
Deploying to gh-pages from @ 7323aa3 🚀
1 parent 9149af6 commit 5919701

File tree

4 files changed

+159
-129
lines changed

4 files changed

+159
-129
lines changed

build/build-free-loop/index.html

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4630,35 +4630,58 @@ <h3 id="select-signing-capabilities-tab">Select Signing &amp; Capabilities Tab<a
46304630
<h2 id="sign-the-targets">Sign the Targets<a class="headerlink" href="#sign-the-targets" title="Anchor link to this Header on this Page">&para;</a></h2>
46314631
<p>It is time to Sign the Targets with your <a href="../xcode-settings/#add-apple-id">Apple ID</a>.</p>
46324632
<p>If you chose to sign manually but have a paid account, you can skip the Free Account steps below.</p>
4633-
<p>You will be building multiple targets to make a complete app and must sign each one. With <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> 2.2.x, there are 4 targets. With <abbr title="Latest release with major updates">Loop 3</abbr>, there are 5 targets.</p>
4633+
<p>You will be building multiple targets to make a complete app and must sign each one. There are 6 targets to sign.</p>
46344634
<p>Start with the <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> target, the first one on the target list. Choose your Apple ID.</p>
46354635
<p align="center"><img alt="zoom of region where user selects signing team" src="../img/team.png" width="400" /></p>
46364636
<h3 id="free-account">Free Account<a class="headerlink" href="#free-account" title="Anchor link to this Header on this Page">&para;</a></h3>
46374637
<p>This section is required if you are using the free account.</p>
46384638
<p>Some features of <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> are not available with the Free option, so as you sign, you will need to remove features that are not supported.</p>
4639+
<blockquote>
4640+
<p>These directions are for <abbr title="program used to build an app">Xcode</abbr> 26.2. They may vary based on <abbr title="program used to build an app">Xcode</abbr> version.</p>
4641+
</blockquote>
46394642
<ol>
4640-
<li>You must remove unsupported capabilities from 2 targets, this is best done as you sign each target:<ul>
4641-
<li><strong><abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> Target:</strong> Push Notification, Siri, Time Sensitive Notifications and Near Field Communication Tag Reading</li>
4642-
<li><strong>Watch App Extension Target:</strong> Siri</li>
4643+
<li>You must remove unsupported capabilities from 2 targets, this is best done as you sign each target. The items you must delete (using the trashcan) or edit by adjusting checked boxes are listed in order from top to bottom:<ul>
4644+
<li><strong><abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> Target:</strong> <ul>
4645+
<li>HealthKit <strong>DO NOT DELETE</strong><ul>
4646+
<li>uncheck the Clinical Health Records if it is checked; </li>
4647+
<li>finish with the Healthkit Background Delivery checked - you may need to toggle it off and then back on to get the signing to work</li>
4648+
</ul>
4649+
</li>
4650+
<li><abbr title="Near-Field Communication is used for scanning devices such as Libre sensors">NFC</abbr> Tag Reading capabilities (delete), (<abbr title="Near-Field Communication is used for scanning devices such as Libre sensors">NFC</abbr> Scan is OK)</li>
4651+
<li>Push Notifications (delete)</li>
4652+
<li>Siri (delete)</li>
4653+
<li>Time Sensitive Notifications (delete)</li>
4654+
</ul>
4655+
</li>
4656+
<li><strong>Watch App Extension Target:</strong><ul>
4657+
<li>HealthKit <strong>DO NOT DELETE</strong><ul>
4658+
<li>uncheck the Clinical Health Records if it is checked</li>
4659+
<li>check the Healthkit Background Delivery</li>
4660+
</ul>
4661+
</li>
4662+
<li>Siri (delete)</li>
4663+
</ul>
4664+
</li>
46434665
</ul>
46444666
</li>
46454667
<li>Add the keyword <code>SIRI_DISABLED</code> to the LoopConfigOverride.xcconfig file<ul>
46464668
<li>Click on the filename in the left pane of <abbr title="program used to build an app">Xcode</abbr> and view it in the <abbr title="program used to build an app">Xcode</abbr> editor</li>
4647-
<li>Examine the file and find the line that starts with<br> <code>SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited)</code></li>
4648-
<li>Insert the new keyword (separated by a space) anywhere after <code>$(inherited)</code> and before the slashes near the end of the line</li>
4649-
<li>When done, that line should be similar to:<br><code>SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) SIRI_DISABLED</code></li>
4669+
<li>Examine the file and find the line that starts with<code>SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited)</code></li>
4670+
<li>Insert the new keyword (separated by a space) anywhere after <code>$(inherited)</code> before the end of the line</li>
4671+
<li>When done, that line should be similar to: <code>SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) EXPERIMENTAL_FEATURES_ENABLED SIMULATORS_ENABLED ALLOW_ALGORITHM_EXPERIMENTS DEBUG_FEATURES_ENABLED SIRI_DISABLED</code></li>
46504672
</ul>
46514673
</li>
46524674
</ol>
46534675
<p>Details about removing unsupported capabilities:</p>
46544676
<ul>
4655-
<li>You must disable Push Notification, Siri, Time Sensitive Notifications and Near Field Communication Tag Reading<ul>
4656-
<li>If the target you are signing does not use one of these attributes, no error message will appear when you select (personal team) for that target</li>
4657-
<li>If the target you are signing does use one of these attributes, an error message will appear when you select (personal team) for that target</li>
4677+
<li>You must disable some capabilities to enable building the Free app<ul>
4678+
<li>If the target you are signing uses a capability that required a paid account, an error message will appear when you select (personal team) for that target</li>
4679+
<li>Carefully follow the bullet list above for what needs to be modified - do not delete too many items</li>
46584680
</ul>
46594681
</li>
46604682
<li>The <abbr title="program used to build an app">Xcode</abbr> error message starts with "Cannot create . . ." with a list of all the attributes not supported.<ul>
46614683
<li>Scroll down and click on the little trash can icon next to each unsupported attribute</li>
4684+
<li>Do NOT delete the HealthKit completely - only modify the check boxes if required</li>
46624685
</ul>
46634686
</li>
46644687
<li>Scroll up and both the "Cannot create . . ." and "No profiles for . . ." error messages are gone</li>
@@ -4671,16 +4694,23 @@ <h3 id="end-of-free-account-steps">End of Free Account Steps<a class="headerlink
46714694
<p>The graphic below is from an older version of <code>Loop</code>. You must sign all 6 targets listed above.</p>
46724695
</blockquote>
46734696
<p align="center"><img alt="Xcode window showing the targets that must be signed" src="../img/success.png" width="750" /></p>
4674-
<p>After signing the targets, click on the <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> icon under the <code>PROJECTS</code> heading. (Refer to the bright blue box in graphic above - click on that <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> icon.)</p>
4697+
<h2 id="signing-complete">Signing Complete<a class="headerlink" href="#signing-complete" title="Anchor link to this Header on this Page">&para;</a></h2>
4698+
<p>Now that you have signed your app, you will be able to build following these directions: <a href="../build-app/#start-build">Start Build</a>. If this is your first free build on this phone, you will need to build once, then "Trust the Free Account" and then build a second time. This is only for the first build. Subsequent builds on that phone are already trusted.</p>
4699+
<div class="admonition important">
4700+
<p class="admonition-title">Trust the Free Account</p>
4701+
<p>The first time you build the free app, you will be told <abbr title="program used to build an app">Xcode</abbr> cannot install on the phone because the Free Account name is not trusted.</p>
4702+
<p>The phone will also show a message stating <code>Untrusted Developer</code>.</p>
4703+
<p>Once you see that error message, go into the phone and follow these steps:</p>
46754704
<ul>
4676-
<li>If you skip this step, you may get an "Entitlements" Build Error for either <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> or WatchApp<ul>
4677-
<li>Follow this procedure to fix the error: <a href="../build-errors/#entitlements-error">Entitlements Error</a></li>
4678-
<li>Much easier to just click on <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> under <code>Projects</code></li>
4705+
<li>Select iPhone Settings</li>
4706+
<li>Select General</li>
4707+
<li>Select VPN &amp; Device Management</li>
4708+
<li>At the bottom of the screen, tap on the free developer email address</li>
4709+
<li>On the next screen, tap on Trust "free developer email address"</li>
4710+
<li>Tap on "Allow"</li>
46794711
</ul>
4680-
</li>
4681-
</ul>
4682-
<h2 id="signing-complete">Signing Complete<a class="headerlink" href="#signing-complete" title="Anchor link to this Header on this Page">&para;</a></h2>
4683-
<p>Now that you have signed your app, return to the Build <abbr title="With a capital L, Loop is one of several do-it-yourself artifical pancreas systems">Loop</abbr> page at <a href="../build-app/#start-build">Start Build</a>.</p>
4712+
<p>Return to <abbr title="program used to build an app">Xcode</abbr> and build again.</p>
4713+
</div>
46844714

46854715

46864716

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)