Google地图SDK 1.5版与iOS 7应用程序集成

时间:2013-10-11 10:13:36

标签: ios google-maps ios7

当谷歌地图SDK版本1.5与iOS 7集成时。我收到此错误。

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)

我不知道如何解决问题,有谁知道帮助我解决这个问题。

1 个答案:

答案 0 :(得分:3)

错误的关键部分是说:找不到架构x86_64的符号。

我猜你正在为arm64bit构建,Google Maps SDK没有64位版本。

尝试仅为armv7,armv7s构建