Once you have gained access, set up the development environment by following:
-
We recommend using
rbenv
to handleruby
selection/installation.- Install
rbenv
brew install rbenv
- Clone the tomtom-navigation-ios-examples repository
git clone [email protected]:tomtom-international/tomtom-navigation-ios-examples.git
- Change directory to the related folder of the recently cloned repository and install
ruby
viarbenv
cd tomtom-navigation-ios-examples/CocoaPods rbenv install
- Load
rbenv
to your shell
echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc
Above command assumes that
zsh
is being used. If a different shell is being used, then you can find commands for most common shells in rbenv documentation.- Update
bundler
gem install bundler
- reload your shell so the
rbenv
can extendPATH
accordingly.
- Install
-
Install project's
gem
dependencies viabundler
bundle install
-
Add a reference to the CocoaPods private repository:
bundle exec pod repo-art add tomtom-sdk-cocoapods "https://repositories.tomtom.com/artifactory/api/pods/cocoapods"
-
Install the dependencies by executing the following command in the project folder.
bundle exec pod install
-
To update the SDK version, run the command:
bundle exec pod repo-art update tomtom-sdk-cocoapods
-
Open the project’s
xcworkspace
and start developing your awesome application.