Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple Mach -O Linker Error when using Google Maps SDK

I installed the Google Maps SDK using CocoaPods. When compiling, I have an error :

linker command failed with exit code 1 (use -v to see invocation)

I installed all those framework :

AVFoundation.framework
CoreData.framework
CoreLocation.framework
CoreText.framework
GLKit.framework
ImageIO.framework
libc++.dylib
libicucore.dylib
libz.dylib
OpenGLES.framework
QuartzCore.framework
SystemConfiguration.framework
libstdc++.dylib
CoreBlueTooth.framework
Accelerate.framework

I also deleted the "Armv7s" on the valid architecture in the build settings, as some people said on other threads, but I still get the linker error. Is there a way to bypass that ?

like image 832
Gezurb Avatar asked May 09 '26 12:05

Gezurb


1 Answers

Add following line in your Other Linker Flags.

$(inherited)

like image 151
davinci Avatar answered May 11 '26 03:05

davinci



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!