Skip to content
chris edited this page Aug 9, 2023 · 49 revisions

Contents

News

  • KegCop works on iOS 9.3.5 when run on an iPod Touch 5G
  • 1JUN18 The Bluetooth features of KegCop are causing the app to crash on iOS 10.3.x.

Building from a CLI

Building 🔨 from a CLI ⌨️
  1. Clean the project, ie. removing files associated with prior builds.
cd /path/to/KegCop
xcodebuild clean
rm -rf DerivedData

Step 2 is not required

  1. Build the app using the release configuration
xcodebuild -workspace KegCop.xcworkspace \
-scheme KegCop \
-destination generic/platform=iOS build
  1. Build an archive of the project
cd /path/to/git/clone/of/KegCop
xcodebuild -workspace KegCop.xcworkspace \
-scheme KegCop \
-sdk iphoneos \
archive -archivePath $PWD/DerivedData/KegCop.xcarchive
  1. Build an ipa from the xcarchive
xcodebuild -exportArchive \
-archivePath $PWD/DerivedData/KegCop.xcarchive \
-exportOptionsPlist $PWD/Resources/exportOptions.plist \
-exportPath $PWD/DerivedData

The KegCop.ipa will be located within the DerivedData directory of the project root.

Mobile provisioning profiles are located in the below location

$HOME/Library/MobileDevice/Provisioning Profiles/

How it works

An iPod Touch 5G communicates with a BLuno microcontroller via Bluetooth 4.0 Low Energy, which interfaces with a flowmeter and a solenoid cut off valve.
Wilson demos KegCop

Hardware

iOS device

Presently the current iOS device I have running KegCop is an iPod Touch 5G A1421

iOS device troubleshooting

If iOS device is stuck at Apple logo, more than likely the device will need to be restored from DFU mode.

Some useful tools for getting an iOS device into DFU mode

Both of the above mentioned apps will not restore an iOS device unless purchased, but are still useful for getting the device into DFU mode.

Fittings for wiring a flow meter

Working with USB

  • A USB port provides ~ 5V Volts and 500 mA milliAmps to a port, regardless of whether the port is USB 1.1 or USB 2.0

Useful Links

Commercial Solutions

Friends of KegCop

Survey

Gallery

Bluno

TODOs