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, 按如下设置:

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM