GoogleMapsSDK : Undefined symbols for architecture x86_64
I noticed the following changes when I upgraded an app that was using the older Google maps SDK that had been installed manually:
- Need to link to CoreBluetooth.framework and Accelerate.framework in Build Phases -> Link Bundle with Libraries.
- The -all_load flag under "Other Linker Flags" will cause "duplicate symbol" errors. (Use -ObjC instead.)
If you use the CocoaPods method of installation (per their current instructions), it should take of the required frameworks but it'll still get messed up by -all_load.
make sure following are included
GoogleMaps SDK framework and bundle
GoogleMaps (with .framework extension) is present at your root directory (where your .xcodeproj is)
GoogleMaps (with .bundle extension) is referenced in your xcode project
Architecture value in your project settings includes armv7.
Other Linker Flags has -ObjC , if not present add it
**_vImageBoxConvolve_Planar8, referenced from: (anonymous namespace)::CreateBlurredImage(CGImage*, double, double) in GoogleMaps(GLWaterGroup.o)**This required "Accelerate.framework". So, please add it.Steps:1)Build Phases -> Link Bundle with Libraries.2)Click "+",3)Select "Accelerate.framework". Finish.===================================Others errors required "CoreBluetooth.framework. So, please add it also in similar way.