Google Maps SDK usage overview https://developers.google.com/maps/documentation/ios/start
Step by step, so you can !!
Step 1: Download the Google Maps SDK for iOS
Https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios
Step 2 get the Google Maps API Key
Https://developers.google.com/maps/documentation/ios/start#the_google_maps_api_key
Register a Google account and obtain the Key
Step 3 Add the Google Maps SDK to your iOS APP
Https://developers.google.com/maps/documentation/ios/start#adding_the_google_maps_sdk_for_ios_to_your_project
Here, because you are not familiar with XCode IDE
- Replace the default valueUbunturesWitharmv7.
- InOther Linker FlagsSection, add-ObjC. If these settings are not visible, change the filter inBuild SettingsBar fromBasicToAll.
Add armv7
Add-ObjC compilation settings.
You can build the google maps sdk for your project according to the document introduction.
I still feel that I am not very familiar with using xcode. It is useless to right-click the above two places. I have been there for a long time and I don't know how to fill in the samples. Make a record here.
If the above two compilation environments are not set, the program cannot be started.