请教大家一个问题:
我使用 pod update,更新了一个第三方的库, clean 之后,重新编译,会报“ BMapKit.h not found ”的错误,已经尝试了一天了,还是没有进展,请问大家遇到过类似的问题吗?多谢。
下面是我的 Podfile :
```
platform :ios, '7.0'
pod 'AFNetworking', '~> 2.5.1'
pod 'SDWebImage', '~> 3.7.2'
pod 'MBProgressHUD', '~> 0.9.1'
pod 'FMDB', '~> 2.5'
pod 'Masonry', '~> 0.6.1'
pod 'BaiduMapAPI', '~> 2.8.0'
pod 'AVOSCloud'
pod 'AVOSCloudIM'
```
1
shiziwen OP pod 'BaiduMapAPI', '~> 2.8.0' 改成了之前的 pod 'BaiduMapAPI', '~> 2.7.0'
我又尝试进行了如下操作, 1. Finally got it to work by adding (including quotes) "${PODS_ROOT}/BuildHeaders" to the User Header Search Paths entry, and checking 'recursive'. $(inherited) flag added in target 'HEADER_SEARCH_PATHS' and 'OTHER_LDFLAGS' of the app i found ${PODS_HEADERS_SEARCH_PATHS} is missing and it is not defined in my develop git branch, So i added "$(SRCROOT)/Pods/Headers/" for Header Search Paths with recursive 但是有开始报 leancloud 的库的问题了。 |
2
terryhwang 2016-02-26 10:06:26 +08:00
那就自己建一个头文件呗
#import <BaiduMapAPI_Base/BMKBaseComponent.h> #import <BaiduMapAPI_Map/BMKMapComponent.h> #import <BaiduMapAPI_Search/BMKSearchComponent.h> #import <BaiduMapAPI_Cloud/BMKCloudSearchComponent.h> #import <BaiduMapAPI_Location/BMKLocationComponent.h> #import <BaiduMapAPI_Utils/BMKUtilsComponent.h> #import <BaiduMapAPI_Radar/BMKRadarComponent.h> |
3
shiziwen OP |