iOS 使用百度地图时,真机能正常测试,但不能Archive

泡泡糖吹泡泡 发布于 2014/07/16 14:50
阅读 1K+
收藏 0
麻烦各位大神有时间的话帮忙看下吧,有没有遇到过这样的问题呀,使用百度地图SDK后,我直接用真机测试能正常运行,地图能正常使用,如果Archive的话,就出现13个错误,Edit Scheme中的Build configuration也改为release了。错误是这样的:                                                                                          Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_BMKTransitRoutePlanOption", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_METACLASS_$_BMKPointAnnotation", referenced from:
      _OBJC_METACLASS_$_RouteAnnotation in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKPolyline", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKPolylineView", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKRouteSearch", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKAnnotationView", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKWalkingRoutePlanOption", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKLocationService", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKDrivingRoutePlanOption", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKMapManager", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_BMKPlanNode", referenced from:
      objc-class-ref in RouteSearchDemoViewController.o
  "_OBJC_CLASS_$_BMKPointAnnotation", referenced from:
      _OBJC_CLASS_$_RouteAnnotation in RouteSearchDemoViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed    大神知道的话,帮忙解答下吧
加载中
返回顶部
顶部