/habitica-ios

Native iOS

Primary LanguageObjective-CGNU General Public License v3.0GPL-3.0

Habitica for iOS

Native iOS app for Habitica.

Setup for local development

Config File

Copy over the sample debug config file.

$ cp sample.debug.xcconfig debug.xcconfig

If you want to run your app against a locally running version of Habitica, change CUSTOM_DOMAIN to localhost:3000 or whatever port you have your local version configured to. Also set DISABLE_SSL to true so that the url can be configured correctly.

CocoaPods

We are using CocoaPods to manage dependencies.

If you have managed ruby environment (rbenv, rvm, etc.):

$ bundle install
$ bundle exec pod install

If you require sudo to install gems (i.e. you are using the MacOS system ruby):

$ sudo gem install cocoapods:'>=1.0'
$ pod install

CocoaPods requires that you open the Habitica.xcworkspace.

$ open Habitica.xcworkspace