更新 RKLog.h 中未找到的 RestKit 'lcl_RK.h' 文件 [英] Update RestKit 'lcl_RK.h' file not found in RKLog.h
问题描述
我在 Xcode 7.1 中安装了带有 CocoaPods v0.39 的 RestKit v0.25.0,但在导入时遇到了问题.当我使用 CocoaPods v0.38.2 时,一切都很棒.
RKHTTPUtilities.h"文件未找到.它在${PODS_ROOT}/Headers/Public/RestKit"的标头搜索路径中设置递归后解决.但是我在 RKLog.h 中找不到这个错误lcl_RK.h"文件.
I install RestKit v0.25.0 with CocoaPods v0.39 in Xcode 7.1 and have problem with imports. When I used CocoaPods v0.38.2 everything was amazing.
"RKHTTPUtilities.h" file not found. It solves after set recursive in headers search path for "${PODS_ROOT}/Headers/Public/RestKit".
But I get this error 'lcl_RK.h' file not found in RKLog.h.
我也尝试做这个.
推荐答案
我发现只有一个不是最好的方法.在项目目标的标题搜索路径中添加$(PODS_ROOT)/RestKit/Vendor/LibComponentLogging/Core".
I found only one not the best way. Add "$(PODS_ROOT)/RestKit/Vendor/LibComponentLogging/Core" in headers search path for project target.
说明:lcl_RK.h 文件在文件夹路径 RestKit/Vendor/LibComponentLogging/Core 中,所有其他文件在文件夹 RestKit/Code/中.当 CocoaPods 生成 Headers 文件夹时,它错过了 lcl_RK.h 文件.
Explain: lcl_RK.h file is in folder path RestKit/Vendor/LibComponentLogging/Core, all other files in folder RestKit/Code/. When CocoaPods generates Headers folder, it misses lcl_RK.h file.
这篇关于更新 RKLog.h 中未找到的 RestKit 'lcl_RK.h' 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!