Building Loop with LnL Patches
Loop and Learn provides a customized branch of Loop 3.2.2 (main_lnl_patches) that enables people who want specific customizations to use a branch (or customization method) to add them.
Warning – with the next release of Loop, LnL with Patches will be removed
If you aren’t already using it, please don’t start.
This is available with the Build Select script for people using the Mac-Xcode method.
This page describes how to use the GitHub (Browser Build) method to build Loop with LnL Patches – valid up through version 3.2.2.
For information about what is included in these patches, see: Loop and Learn: Summary of Loop with LnL Patches.
GitHub Build: Loop then Customize
These instructions enable you to build Loop with LnL Patches using just a browser. No Mac or Xcode needed.
This section uses the standard LoopDocs method and then has you edit a single file using your browser in your fork.
Instructions for how to edit the build_loop.yml file are at Loop and Learn: Code Customization: Standard Patches.
If you’ve never built Loop using GitHub
Follow the instructions in LoopDocs: GitHub Overview and LoopDocs: GitHub First-Time until you successfully build Loop.
You do not need to install this version on a phone – building it is sufficient.
Head over to Loop and Learn: Code Customization: LnL Patches.
If you already built Loop using GitHub and your fork is from LoopKit
Be sure to sync your fork to capture updates, if any. (If you need help with this step, it is documented in LoopDocs: GitHub Update.)
Head over to Loop and Learn: Code Customization: LnL Patches.
If you already built Loop using GitHub and your fork is from loopnlearn
You have your choice, but it is strongly recommended you delete your fork and make a new one from LoopKit. With the next release of Loop, the option of using the loopnlearn fork for prebuilt patches will not be available.
If you delete your fork and start over, you will use all the same 6 Secrets you previously used and then you’ll head over to Loop and Learn: Code Customization: LnL Patches.
GitHub Build: Loop with LnL Patches
These instructions have been removed. The next release of Loop (3.4 – coming “soon”) will not be supported using the loopnlearn GitHub username.
TestFlight
The final step is to make sure your app is connected to TestFlight so you can install it on your phone. Follow instructions to Set Up Users and Access TestFlight.
Look for the TestFlight email – you will have to redeem the invitation the first time it built using GitHub for a given app.