Getting Started
Add the VMSDK pods to your Podfile
pod 'VMSDK_Core', '~> <VERSION>'
pod 'VMSDK_Wayfinding', '~> <VERSION>'
pod 'VMSDK_Legacy', '~> <VERSION>'
Use the provided methods to render and navigate the venue
Install and run the reference app
- Make sure you have version 10.2 or later of Xcode.
If you don’t already have the CocoaPods tool, install it on macOS by running this command from the terminal:
sudo gem install cocoapods
Extract the iOS VMSDK zip file.
In the extracted directory, navigate to
vmsdk-sampleapp/Podfile
.Install the dependencies using CocoaPods:
pod repo update pod install
In the extracted directory, navigate to
vmsdk-sampleapp/VMMS-Demo.xcworkspace
and launch it in Xcode.The reference app uses the Google Maps SDK for iOS and the MapLibre SDK for iOS, so you will need to generate a Google API Key and generate a MapLibre Access Token.
Once you’ve generated a Google Maps API key and a MapLibre Access Token, open
Supporting Files/VMMSDemoConstants.h
and update theGMS_API_KEY
andMAPTILER_API_KEY
variables.Build and run the app on the simulator.