4

I'm running some Unit Tests, which work fine without GoogleMaps. However, if I install GoogleMaps through pods, I get the error :

pod ld: framework not found GoogleMaps for  architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I found some answers here which involve changing some build settings, but nothing is working, and mostly the questions were about the error appearing when installing GoogleMaps without pods.

Any idea how I could solve that?

Kalianey
  • 2,738
  • 6
  • 25
  • 43

2 Answers2

0

First, try to verify if you follow the process here in this documentation about Setting up the Google Maps SDK for IOS.

By checking other issue about your problem. I found this github issue, you can try to check this to know what steps you can do to solve that issue.

If the problem still occurred, maybe you can try(only suggestion) to use Google Maps without using cocoapods. This SO question can help and explain you on how to achieve this.

Community
  • 1
  • 1
KENdi
  • 7,576
  • 2
  • 16
  • 31
  • I tried all this and nothing works, and would really like to use it with pods, so I'll keep looking... – Kalianey Jun 06 '16 at 08:29
0

I had the same issue. Restarted Xcode a bunch of times, cleared my DerivedData and played around with changing the Host targets.

What worked for me was:

  • just do the above: restart Xcode and clear your DerivedData to start on a clean slate

  • pod update

That was it! Hope this helps your or anyone else.

gellieb
  • 213
  • 2
  • 5