This example project uses the Frollo iOS SDK project as a submodule so developers are able to update the SDK whilst running this example project.
To clone the repository including the submodule, use the following command:
git clone git@bitbucket.org:frollo1/frollo-ios-sdk-example.git --recurse-submodules
To get a new environment working for Frollo iOS use the following steps:
- Install Homebrew - https://brew.sh/
- Install Carthage using brew -
brew install carthage
- Bootstrap the dependencies (slow!) -
carthage bootstrap --platform iOS --no-use-binaries
- Install RVM - https://rvm.io/
- Using Terminal in the root project directory active RVM -
rvm use .
- Install bundler -
gem install bundler
- Setup the bundled gems -
bundle install
- Bootstrap the local environment for code signing etc -
fastlane bootstrap --env frollo
- (Optional) Bootstrap any other vendor certificates as needed -
fastlane bootstrap --env pioneer
- Passwords for the above can be found in 1Password as Match Password and Apple ci@frollo.us
- Build! 👷♂️
If you're experiencing some problems maybe clearing the Carthage cache might fix it. You can do that by executing:
rm -rf ~/Library/Caches/org.carthage.CarthageKit