Browser Builders: Use an iPhone to Update Your App
If you build your Loop App using the Browser Build method, starting with Loop 3.4.0, it will automatically rebuild. These instructions are for the LoopFollow or LoopCaregiver users who would like to update to the latest version while they’re in a hotel room, sports field, or just relaxing and don’t have a computer handy. The GitHub layout is slightly different on the phone, but the process is the same whether you’re building using a computer, tablet or phone, and you need to follow the instructions to sign any pending Apple Developer agreement, or renew your distribution certificate.
Warning: If you get a build error, the very first thing that you should do is sign into your Apple Developer acount and look to see if you need to sign a new license agreement or update certificates. The GitHub error messages can be misleading and it is unlikely that someone who has successfully built before will suddenly have an issue with their Secrets or Identifiers, so don’t start deleting things in GitHub until you’ve gone to Apple Developer and posted on Facebook.
Here’s how you can quickly and easily update your LoopFollow and LoopCaregiver apps from any location using your phone.
LoopDocs has more indepth information:
https://loopkit.github.io/loopdocs/browser/bb-update/
- Log into GitHub. If you do not log in, you will see in the upper right corner.
- Navigate to the repository that you’d like to update. Your URL will looks like this: https://github.com/username/repositoryname
- Click on Code. In this example, our LoopFollow code is 3 commits behind.
- Scroll down to Sync Fork
- Select Update branch
- Click on Actions tab. If you don’t see Actions, then click on the 3 dots next to Code or Pull Requests to reveal Actions
- Click on All workflows; the menu expands to reveal the 4 actions
- Select the Build action
- Select Run workflow. You’ll see the branch that you’re going to build, in this case, it is main. If you’re building LoopCaregiver, your branch will be dev.
- Click the green Run workflow button
TestFlight
After you complete the steps above, you’ll need to wait patiently for your updated app to arrive in TestFlight. The timing for this step varies, but it usually takes less than one hour.