Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Framework not found GoogleMaps sdk in iOS

I want to use google map to existing(not a new one) iPhone project.Now i am using Google map ios sdk and i successfully added google map framework to my project.But i got error like this

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

How to solve this issue.I am using xcode4.5 and google map iOS sdk version is 1.5. When i am creating new project with google map iOS sdk then no error getting for me.Error only for existing iOS Project.Please help me.

like image 399
IKKA Avatar asked Oct 02 '13 05:10

IKKA


People also ask

Is Google Map free for iOS?

Cost and data. Google does not charge you to use the Google Maps app. Because Google Maps might use your phone or tablet's data connection, your mobile service provider might charge you for your data usage.


1 Answers

I solved my issue

You need to do this

  1. Click on your project (targets)
  2. Click on Build Settings
  3. Under Framework search paths (set your framework path)

Following information for getting framework search paths

  1. Right click on your framework folder (for ex: GoogleMaps.framework)
  2. select Get info
  3. copy the path from General->where and paste this path in your framework search path (path should contain in single line)

Good luck

like image 60
IKKA Avatar answered Sep 22 '22 09:09

IKKA