<OCHamcrestIOS/OCHamcrestIOS.h> not found after pod install

178 Views Asked by At

In my podspec for my project, I have :

s.dependency 'OCHamcrest'

I keep on getting the above error. In Pods/Headers, I noticed the following path :

Pods/Headers/Public/OCHamcrest/OCHamcrest.h

Also, there is nothing in my HEADER SEARCH PATHS. Has anyone run into this issue before?

1

There are 1 best solutions below

0
On BEST ANSWER

For CocoaPod-installed OCHamcrest, use the following import:

#import <OCHamcrest/OCHamcrest.h>

(This is noted in the README, under "CocoaPods".)