Using Xcode 6.0.1 the following test fails, whereas it run successfully with Xcode 5.1.1:
@protocol Foo <NSObject>
id foo = OCMProtocolMock(@protocol(Foo));
Using Xcode 6.0.1 it fails with this error:
FooTests.m: test failure: -[FooTests testFoo] failed: OCMockObject(Foo): Method process:(
) was not invoked.
I have tried this with the iOS 8.0 and iOS 7.1 simulator.