AutoLoop is a custom build of DIY Loop.
- A relatively recent version of macOS.
- The latest version of Xcode.
- A developer account associated with Darin Krauss connected to Xcode.
- Open the
Terminal
application. - Create and move to the directory where you want the code. For example:
The directory can be anything you choose.
mkdir -p ~/Code/github.com/darinkrauss cd ~/Code/github.com/darinkrauss
- Clone this repository:
git clone https://github.com/darinkrauss/AutoLoop.git AutoLoop
- Move to the
AutoLoop
directory:cd AutoLoop
- To automatically clone the LoopWorkspace repository, make all pertitent changes to DIY Loop, and open LoopWorkspace in Xcode:
This step can take several minutes depending upon your network connection. If there are any failures or issues, please contact Darin Krauss.
make setup
- Once Xcode launches, connect your phone to your computer via USB cable.
- Unlock your phone, if it is locked.
- If you have not connected your phone and/or watch to your computer previously:
- If your computer displays "Allow accessory to connect?", click "Allow".
- If your phone and/or watch displays "Trust this computer?", click "Trust" and enter your passcode.
- If you have not used your phone and/or watch with Xcode previously:
- In Xcode, from the "Window" menu, open "Devices and Simulators".
- Wait for Xcode to finish preparing your phone.
- Close the "Devices and Simulators" window.
- In the center-top of the Xcode window, ensure it displays "LoopWorkspace >
<phone_name>
" where<phone_name>
is the name of your phone. For example, "Darin's Phone". If not, click on to the left and right of the ">" to change appropriately. - In the upper-left of the Xcode window, click the Play button (it looks like a right arrow).
- Xcode will build AutoLoop. This may take some time.
- Unlock your phone, if it is locked.
- AutoLoop will launch on your phone.
- After AutoLoop has fully launched on your phone, unplug the phone from your computer.
- Quit Xcode.
If you find any issues or something that doesn't agree with these instructions, please contact Darin Krauss.
- 2024-02-03 Initial build.
- Replace
OverrideAssetsLoop.xcassets/AppIcon.appiconset/
with custom icons. - Replace
OverrideAssetsWatchApp.xcassets/AppIcon.appiconset/
with custom icons. - Modify
LoopConfigOverride.xcconfig
:MAIN_APP_BUNDLE_IDENTIFIER = com.darinkrauss
MAIN_APP_DISPLAY_NAME = AutoLoop
LOOP_DEVELOPMENT_TEAM = Z4S6G3G5ZX