<OCHamcrestIOS/OCHamcrestIOS.h> 安装 pod 后未找到
<OCHamcrestIOS/OCHamcrestIOS.h> not found after pod install
在我项目的 podspec 中,我有:
s.dependency 'OCHamcrest'
我不断收到上述错误。在 Pods/Headers
中,我注意到以下路径:
Pods/Headers/Public/OCHamcrest/OCHamcrest.h
还有,我的HEADER SEARCH PATHS
里面什么都没有。有没有人 运行 以前处理过这个问题?
对于安装了 CocoaPod 的 OCHamcrest,使用以下导入:
#import <OCHamcrest/OCHamcrest.h>
(这在 README 中有说明,在 "CocoaPods" 下。)
在我项目的 podspec 中,我有:
s.dependency 'OCHamcrest'
我不断收到上述错误。在 Pods/Headers
中,我注意到以下路径:
Pods/Headers/Public/OCHamcrest/OCHamcrest.h
还有,我的HEADER SEARCH PATHS
里面什么都没有。有没有人 运行 以前处理过这个问题?
对于安装了 CocoaPod 的 OCHamcrest,使用以下导入:
#import <OCHamcrest/OCHamcrest.h>
(这在 README 中有说明,在 "CocoaPods" 下。)