LoopFollow Build
Building Options¶
LoopFollow can be built using either the Browser Build or the Mac-Xcode Build method. A paid Apple Developer account is required to use the Browser Build method. Regardless of how you build, you can customize your LoopFollow app’s name.
- Browser Build:
- If you have never built, see LoopDocs: Browser Build for Other Apps
- If you are a repeat builder, then you need a one-time update Browser Build Update for LoopFollow v4.0
- Mac-Xcode: Build LoopFollow Script for Mac-Xcode
Browser Build Update for LoopFollow v4.0¶
New Capability with LoopFollow v4.0
A new capability was added to LoopFollow regarding remote commands which requires a one-time update to your LoopFollow Identifier. Browser Build will fail until you take these steps.
It doesn't matter whether the person you follow uses Loop or Trio. You have to update the Identifiers or the Browser Build will fail.
This requires you to follow these steps:
Sync Your LoopFollow fork¶
- Go to your LoopFollow fork and click on the Sync button
- If your browser build already failed, it already did the sync for you
Add Push Notifications Capability to LoopFollow Identifiers¶
You must manually enable the Push Notifications capabilty to the LoopFollow Identifier. Follow the directions below to open the Identifier and then keep scrolling down until you see Push Notifications. Make sure that check box is enabled, as shown in the graphic below. If you do not do this, the Build will fail.
The example graphic below has numbered steps that match these directions:
Click to open the Certificates, Identifiers & Profiles: Identifiers List page.
- Locate the LoopFollow Identifer and click on it to open the
Edit your App ID Configurationscreen- The name in the
NAMEcolumn may be different if you previously built with a Mac using Xcode, in that case it will start with XC
- The name in the
- Looking at the
Capabilitiescolumn, scroll down to thePush Notificationsrow - If the check box is not checked, you must check it
- Scroll back to the top and hit Save if you modified that value or All Identifiers if you made no changes
If you made a change and hit Save, you then need to Tap Continue and Tap Save to complete the process.
Repeat this step if you use LoopFollow_Second or LoopFollow_Third.
Run Build LoopFollow¶
- Click on the Actions tab of your LoopFollow repository
- On the left side, click on
4. Build LoopFollow - On the right side, click Run Workflow to show a dropdown menu
- Tap the green button that says Run workflow.
Once this completes, be sure to update from TestFlight to get the updated version of LoopFollow on your phone.
Repeat the build and install from TestFlight steps if you use LoopFollow_Second or LoopFollow_Third.
Build LoopFollow Script for Mac-Xcode¶
Carefully read the information in the terminal before making any choices.
Step 1: Open Terminal
Tip: Press Command-Space to open spotlight search. Start typing “term” (without the quotes) and you will see the Terminal application icon in the box. Hit enter to open.
Step 2: Copy the entire line starting with /bin/bash and then Paste the line into Terminal and enter
Click on the copy icon at right of the box below to copy it. You’ll see Copied to Clipboard briefly.
/bin/bash -c "$(curl -fsSL \
https://raw.githubusercontent.com/loopandlearn/lnl-scripts/main/BuildLoopFollow.sh)"
Step 3: Choose from one of the options presented by the script
If you are not following multiple Loopers, always choose 1 for the latest release.
You are prompted to enter a custom name if you want or you can continue using the LoopFollow default name
If you are following up to 3 Loopers, choose option 1, 2 or 3.
- Each Looper can have a unique name displayed for the app
- Each time you download using the script, the name you selected the first time is remembered, but editing instructions are provided
To test a specific feature that is only found in the dev branch, choose option 4. This is not typical, and only builds to the app associated with Looper #1
Run LoopFollow on Mac using TestFlight¶
If you used the Browser Build method, follow these instructions to run LoopFollow on your Mac computer using TestFlight. (You can also use an iPad.)
- You need to install the TestFlight app on your computer
- The TestFlight app on the Mac shows the same set of builds and uses the same installation procedure as shown in LoopDocs for installing apps on a phone from TestFlight
- Install on computer from TestFlight
- You need to enter the data source and configuration values into the app on your computer
From Mac system settings/notifications, scroll down to LoopFollow and enable notifications with the options you want.
Run LoopFollow on your Mac with Mac-Xcode Build¶
- Build LoopFollow to your Mac with Xcode (choose My Mac (Mac Catalyst) as the device)
- Click Stop to close the running app that is started by Xcode
- On the left side of Xcode, click on the Folder icon
- Click to open the LoopFollow folder list
- Click to open the LoopFollow/Products folder
- Right-click (or Control-click) on “LoopFollow.app” and select Show in Finder
- First time on the Mac:
- Drag the LoopFollow.app icon to your Applications folder in Finder
- From Mac system settings/notifications, scroll down to LoopFollow and enable notifications with the options you want
- When updating on your Mac
- Make sure you close the LoopFollow app currently running on your computer
- Drag the LoopFollow.app icon to your Applications folder in Finder
- Most people choose to replace the application, but you can keep both if you prefer
- All configurations and settings are maintained
Selection of Branch to Build¶
main vs. dev
LoopFollow users should build LoopFollow-main. New features are tested in the dev branch. Once they are thoroughly tested, they are merged into main. Experienced users can test LoopFollow-dev, but there will be minimal support. Any issues found with LoopFollow-dev should be reported in GitHub.
Updates¶
When modifications and versions are updated, you might see activity at GitHub. Please wait for the release message to be posted at LoopFollow Releases before using the updated versions for the main branch of LoopFollow, LoopFollow_Second and LoopFollow_Third.
Version Numbers¶
Updates to the main branch (releases) have a version number that ends in 0; for example, 3.1.0.
- Immediately following the release, the
devbranch is at the same version asmainindicating the code is identical - Each time a feature is merged into the
devbranch, the final number increments; for example, 3.1.1, 3.1.2 - When the next release is made, the second digit is incremented and the final digit is restore to 0 for both
mainanddev; for example, 3.2.0