erikdoe / ocmock

Mock objects for Objective-C
http://ocmock.org
Apache License 2.0
2.16k stars 606 forks source link

No known instance method for selector 'verifyAtLocation:' #383

Closed joeljfischer closed 3 years ago

joeljfischer commented 4 years ago

When using OCMVerifyAll with OCMock 3.5 I'm seeing a compile-time error. The object in question is an OCMProtocolMock, though an OCMClassMock did the same thing.

erikdoe commented 4 years ago

Unfortunately, I cannot reproduce this. I can use OCMVerifyAll(). What error specifically do you see? How are you integrating OCMock? What kind of target (macOS, iOS, etc.) are you building for?

joeljfischer commented 4 years ago

I'm building an iOS target. It's been a little while since I looked at this but I believe that I attempted to use OCMVerifyAll when creating this PR, specifically in the SDLHapticManagerSpec.m tests, but I received that error.