/openfoodfacts-ios

iOS (Swift) version of Open Food Facts. We need HELP :-)

Primary LanguageSwift

Open Food Facts iOS app

Build Status

Open Food Facts is a food products database made by everyone, for everyone.

Features

  • Barcode scanning
  • Product search
  • Product list
  • Product detail
  • On-device Product cache
  • Image upload
  • Internationalised user interface

Building

Dependencies

We use Carthage for dependency management.

Run carthage bootstrap --platform iOS --cache-builds before opening the project in Xcode.

You can install Carthage with Homebrew:

brew install carthage

Fastlane

Currently there are two lanes, one for running the tests (fastlane test) and one for uploading a new beta to TestFlight (fastlane beta).

You can install Fastlane with Homebrew:

brew cask install fastlane

SwiftLint

We have a script that runs when building the app, it executes SwiftLint to enforce a style and conventions to the code.

You can install SwiftLint with Homebrew:

brew install swiftlint

Support

OpenFoodFacts has a Slack team, join the #iOS channel. Click here to join.