To run the demo, you must have a Google Cloud account and an API key enabled for
the Navigation SDK by sales. Once you have a Google Cloud account, see Set up
your development project and API key.
Set up your development project and API key
Create or open a project in the Google Cloud console to use with the
Maps SDK for iOS. Wait for a few minutes until the
project is visible on the Cloud console.
Enable Maps SDK for iOS in the Google Cloud console.
In the project, open the APIs section and enable the
Maps SDK for iOS.
Create an API key for the project, by selecting APIs & Services >
Credentials > Create credentials > API key.
Add the Maps SDK for iOS to your API key. For more
information, see Using API
Keys.
To run the demo, build the app in Xcode with an iOS device connected to your
computer, or use a simulator.
Troubleshooting
Show/Hide the troubleshooting information
Choose an iOS device or simulator running iOS 15 or above.
If you don't see a simulator available, add Rosetta destinations: in
Product > Destination > Destination Architectures, choose Show Rosetta
Destinations.
If your build fails with Sandbox: rsync.samba() deny, disable User
Script Sandboxing: in Build Settings > Build Options, set User
Script Sandboxing to No.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-29 UTC."],[[["The Navigation SDK provides turn-by-turn navigation functionality and requires a Google Cloud account with an API key enabled for the SDK."],["You must have the Maps SDK for iOS installed in your app before integrating the Navigation SDK."],["To try the demo app, download it as a Cocoapod, add your API key, and build the app in Xcode using a compatible iOS device or simulator."],["Xcode 12 users might encounter compilation issues for the simulator which can be resolved using steps outlined in the Navigation SDK FAQ."],["For troubleshooting, use an iOS device or simulator with iOS 15 or above, enable Rosetta destinations if necessary, and disable User Script Sandboxing if encountering build failures related to rsync.samba()."]]],[]]