There are so many people who rely on the FreeAPS fork of Loop that it has been forked again to the loopnlearn github site. There are no guarantees as to how long this support can be maintained, but the loopnlearn team will do their best and are willing to accept pull requests.
With the advent of maintenance by loopnlearn, the FreeAPS crowdin has been expanded to cover more strings.
Ivan - the originator of the FreeAPS project (ivalkou github site) has frozen his repository. All the forces of Ivan's team are aimed at developing a new project FreeAPS X based on OpenAPS.
To simplify building FreeAPS, the loopnlearn team developed a script. It works for Loop and for FreeAPS and is documented in two places. (LoopDocs has more details and graphics - both sites have the same information.)
You can use the copy buttons below on this page to access the same script if you choose.
If you have not already ensured your macOS and Xcode versions are consistent with your iPhone iOS, please use these links and follow the instructions.
- Loop and Learn website: Build Select Script
- LoopDocs website: LoopDocs Updating
There is a copy button located by hovering on the right-hand side of the text blocks below. Click on it, all the words in the block are copied into your paste buffer, and then you can paste the words into the terminal.
First time users should run the script and answer the questions. Copy and paste in a terminal.
/bin/bash -c "$(curl -fsSL https://git.io/JImiE)"
For experienced users who have already verified their macOS and Xcode versions, two one-step copy blocks are provided to perform the two actions required for a rebuild. Paste each set of commands into a terminal. Review output for errors - if there are errors, please use the LoopDocs link.
This starts the script and answers the questions to run the utility to give you a full-year of the app if you have a paid Apple Developer ID and clean out Derived Data from previous Xcode activity on your computer.
/bin/bash -c "$(curl -fsSL https://git.io/JImiE)"
1
3
3
This starts the script and answers the questions to download the FreeAPS code (LoopWorkspace branch=freeaps).
Once downloaded (in the ~/Downloads/BuildLoop folder), the script:
- Opens Xcode in the correct directory
- Opens browser showing a helpful graphic of build steps
/bin/bash -c "$(curl -fsSL https://git.io/JImiE)"
1
1
2
1
This section has the manual steps if you do not choose to use the script.
This repository uses git submodules to pull in the various workspace dependencies.
To clone this repo:
git clone --branch=freeaps --recurse-submodules https://github.com/loopnlearn/LoopWorkspace
Change to the cloned directory and open the workspace in Xcode:
cd LoopWorkspace
xed .
Select the "Loop (Workspace)" scheme (not the "Loop" scheme) and Build, Run, or Test.