ios - pod update之后,找不到BMapKit.h
巴扎黑
巴扎黑 2017-04-17 17:33:46
0
1
455

请教大家一个问题:
我使用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'
巴扎黑
巴扎黑

reply all(1)
黄舟

pod 'BaiduMapAPI', '~> 2.8.0' has been changed to the previous pod 'BaiduMapAPI', '~> 2.7.0'

I tried the following operations again, 1. Finally got it to work by adding (including quotes) "${PODS_ROOT}/BuildHeaders" to the User Header Search Paths entry, and checking 'recursive'.

  1. $(inherited) flag added in target 'HEADER_SEARCH_PATHS' and 'OTHER_LDFLAGS' of the app

  2. 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

But I started to report problems with the leancloud library.


Finally, remove AVOSCloud and AVOSCloudIM from the podfile and add them manually instead.
Then add $(inherited) and "$(SRCROOT)/Pods/Headers/" to "Headers Search Path" in the "project" build settings, which temporarily solves the problem.

But the problems caused by pod update have not been solved yet.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template