百度地图 ld: framework not found BaiduMapAPI_Location 或 高德地图 ld: framework not found AMapLocationKit

来源:互联网 发布:淘宝买违禁品怎么查到 编辑:程序博客网 时间:2024/05/22 03:50

在xcode8,安装百度地图或者高德地图,通过 TARGETS->General->linked Frameworks and Libraries->+  方式添加静态库 framework,会分别发生百度地图 ld: framework not found BaiduMapAPI_Location 或 高德地图 ld: framework not found AMapLocationKit 错误。

原因是百度或者高德库在项目中找不到该库,解决方式:

不通过上面方式添加,而是直接拖到项目到工程目录下,即可解决上述错误。

0 0
原创粉丝点击