- A mac computer running MacOS 12 or greater.
- Xcode 13 or later installed.
- Cocoapods installed.
- A Mapbox account and access token.
- A Firebase account with Cloud Firestore, Cloud Storage, and Sign in With Apple Authentication enabled.
- Clone the repository to your local computer.
- Follow the directions outlined here to get your Mapbox access token and configure your machine to be able to download the mapbox library using that token.
- Follow the instructions in the CardinalKit documentation regarding configuring your Firebase account for the iOS application. You will also need to configure
Sign In With Apple
as documented here. - In the terminal, navigate to the
LifeSpace
folder, which containsLifeSpace.xcworkspace
. - Install dependencies by running
pod install
in this folder. - Open
LifeSpace.xcworkspace
in Xcode. (Do not openLifeSpace.xcodeproj
as the dependencies will not be included.) - In Xcode, copy the
GoogleService-Info.plist
file you generated in Step 2 from your Firebase account into theSupporting Files
folder. - In the
Supporting Files
folder, click on theInfo.plist
file and in theMBXAccessToken
field, paste in the access token you obtained in Step 2.
Now that your environment and application are set up, you can start testing the application. The authors recommend testing on a physical iOS device.