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 cocoapodsExtract the iOS VMSDK zip file.
In the extracted directory, navigate to
vmsdk-sampleapp/Podfile.Install the dependencies using CocoaPods:
pod repo update pod installIn the extracted directory, navigate to
vmsdk-sampleapp/VMMS-Demo.xcworkspaceand 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.hand update theGMS_API_KEYandMAPTILER_API_KEYvariables.Build and run the app on the simulator.
Getting Started Reference