iOS编译错误#ld: warning: ignoring file# 之 Undefined symbols for architecture x86_64 - ld: symbol(s) not found for architecture x86_64

ld: warning: ignoring file xxxPath/libbaidumapapi.a, missing required architecture x86_64 in file xxxPath/libbaidumapapi.a (3 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_BMKMapManager", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_BMKMapView", referenced from:
      objc-class-ref in ZXMapGPSViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

我的解决方法:

target->Build Settings, 按如下设置:

 

 

posted @ 2017-02-06 16:43  weaker  阅读(7631)  评论(0编辑  收藏  举报