Personal iPhone nutrition tracker inspired by Apple Fitness. All data stays on device.
- macOS with Xcode 16+
- iOS 18+ device or simulator
open MacroRings/MacroRings.xcodeprojSelect your development team in Signing & Capabilities for all three targets:
- MacroRings (app)
- MacroWidget (widget extension)
- MacroRingsTests (unit tests)
Confirm App Groups capability is enabled with group.com.macros.rings on both the app and widget targets.
Then run the MacroRings scheme on a simulator or device.
After building and running the app at least once:
- Long-press the Home Screen
- Tap Add Widget
- Search for Macro Rings
- Choose Small or Medium size
The widget shows today's calories, protein, carbs, and fat progress. It updates when you log food or change goals in the app.
xcodebuild -scheme MacroRings -destination 'platform=iOS Simulator,name=iPhone 16' testOr press Cmd+U in Xcode.
Phases 1–7 and 9 complete. The app includes calendar navigation, macro rings, auto-calculated calories, food logging, daily summaries, history, editable goals, and a Home Screen widget. Phase 8 (polish) remains.