jeyachandran
jeyachandran

Reputation: 325

Google map SDK version 1.5 integrate with iOS 7 application

when google map SDK version 1.5 integrate with iOS 7. I got this error.

ld: warning: ignoring file /Users/apps/Desktop/Map/GoogleMaps.framework/GoogleMaps, missing required architecture x86_64 in file /Users/apps/Desktop/Map/GoogleMaps.framework/GoogleMaps (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GMSCameraPosition", referenced from:
  objc-class-ref in MapViewController.o
"_OBJC_CLASS_$_GMSMapView", referenced from:
  objc-class-ref in MapViewController.o
"_OBJC_CLASS_$_GMSMarker", referenced from:
  objc-class-ref in MapViewController.o
"_OBJC_CLASS_$_GMSServices", referenced from:
  objc-class-ref in MapAppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I don't know how solve the problem,can anyone know help me to solve this problem.

Upvotes: 3

Views: 3144

Answers (1)

Adam Richardson
Adam Richardson

Reputation: 2526

The key part of the error is the bit that says: symbol(s) not found for architecture x86_64.

I am guessing you are building for the arm64bit and the Google Maps SDK doesnt have a 64 bit version.

Try building for armv7, armv7s only

Upvotes: 3

Related Questions