Recently took over a previous other people wrote the old project, with the Google Map, the runtime always said ' Googlemaps/googlemaps.h ' file not found, find the corresponding framework files, see what the inside does not, Of course I can't find the file, so I want to reconfigure Google Maps SDK, but the most annoying thing happened, Google map AIP configuration instructions are all English ...
Later on the Internet to find a number of Google Maps configuration data, simply say I fix the problem of the process:
1. Download the latest Google Maps SDK, download the address: https://developers.google.com/maps/documentation/business/mobile/ios/
2. Replace the downloaded googlemapsm4b.framework with the googlemaps.framework in the original item
3. Replace the Googlemaps.bundle,googlemaps.bundle in the original project to be found in googlemapsm4b.framework-->resources
4. Replace the #import <GoogleMaps/GoogleMaps.h> in the project with #import <GoogleMapsM4B/GoogleMaps.h>
After you configure these, you will find that you will not be able to report any errors that cannot be found, but a new error has occurred.
Undefined Symbols for Architecture arm64:
"_vimageboxconvolve_planar8", referenced from:
(anonymous namespace):: Createblurredimage (cgimage*, double, double) in googlemapsm4b
Ld:symbol (s) not found for architecture arm64
Clang:error:linker command failed with exit code 1 (use-v to see invocation) at the beginning, on Baidu for a long time did not have a solution to the problem, and later found a paper on Google Chapter, the perfect solution to the problem, the article link is: http://stackoverflow.com/questions/30712852/googlemapssdk-undefined-symbols-for-architecture-x86-64
The main lack of two dependent libraries, corebluetooth.framework and accelerate.framework, to add these two dependencies to the project, the problem is resolved, the program can run normally.