Google Maps can't find the googlemaps/googlemaps.h problem

Source: Internet
Author: User

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.





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.