iOS "linker command failed with exit code 1" error when adding GoogleMaps pod

Viewed 1329

Adding Crashlytics to an existing project I am working on (Objective-C) made me update some of the Google pods, up until that moment everything worked fine, after I've managed to integrate Crashlytics I've started receiving this error:

Undefined symbols for architecture arm64: "OBJC_CLASS$_UIPointerShape", referenced from: objc-class-ref in GoogleMaps "OBJC_CLASS$_UIPointerStyle", referenced from: objc-class-ref in GoogleMaps ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

enter image description here

Here is my podfile:

enter image description here

And here's how it used to be before the changes:

enter image description here

2 Answers

Eventually I've went to prev commit and checked the version of GooglePlaces and GooleMaps (which was 3.7.0) and have been updated to 3.9.0. I've limited the version to 3.7.0 (pod 'GoogleMaps', '~>3.7.0' & pod 'GooglePlaces', '~>3.7.0') and it worked

Related