- Clone the repository.
git clone https://github.com/loki-project/loki-ios-wallet.git
- Install homebrew
- Install loki dependencies:
brew install pkgconfig
brew install cmake
- Build the loki iOS libraries.
./install.sh
./build.sh
- Install dependencies from Pod.
pod install
To build the application from testnet, you need to set the TESTNET
pre-processor macro to true.
You can do this by doing the following:
- Select your project (Make sure you are not selecting a target)
- Go to Build Settings
- Search "Preprocessor Macros"
- Add
USE_TESTNET=1
toDEBUG
orRELEASE
depending on what your needs are. - Search "Swift Compiler - Custom Flags"
- Add
USE_TESTNET
underActive Compilation Conditions
We use forked the repo of ofxiOSBoost. We do this ONLY for more convenient installation process.