dabaopku

坑爹的高德地图API

症状

ld: \'-[MASearch poiSearchWithOption:]\' in *****/Release-iphonesimulator/libMASearchKit.a(MASearch.o) contains undefined reference for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

同样的错误已经有人反映到了高德官方论坛和cocoa论坛,但是无人回应。

解决方案

参见:http://bbs.amap.com/thread-5733-1-1.html

这是高德自身教程的一个bug。

高德地图的库是使用Objective-C++编译的,因此,在依赖库中,要链接上libstdc++.dylib

分类:

技术点:

相关文章:

  • 2021-08-05
  • 2021-08-05
  • 2021-08-05
  • 2021-11-30
  • 2021-11-30
  • 2022-01-02
  • 2021-11-28
  • 2021-09-14
猜你喜欢
  • 2021-12-27
  • 2021-11-07
  • 2021-09-14
  • 2021-09-04
相关资源
相似解决方案