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