Before you begin, ensure you have completed the initial steps as described in the root of the repository.
- In the root of the repo, run the command
./update.platform.sh -p ios
to download the latest eeGeo iOS SDK.- We recommend you run this step frequently to keep your SDK version up to date.
- In the
ios
directory, runmkdir build
to create a build directory. - In the
ios/build
directory, runcmake -G Xcode ..
to generate a project file. - Open the
ExampleApp.xcodeproj
project file in Xcode. - Build and run the ExampleApp target.
There is a script included in the repo to build the app from the command line. You may wish to do this, for example, if you want to have the app building on a Continuous Integration system.
To build from the command line, you will need to install the Xcode Command Line Tools by running the command: xcode-select --install
Then run ./build.sh -p ios
from the root of this repository to build the project.