I'm working on an app that has a Kiwi test suite with 300+ tests. The tests are being run as application tests, where the main app target is the host for the test bundle.
I am trying to add Realm to the app, but when I have Realm objects compiled into the app target, my tests spontaneously fail due to Kiwi matchers failing to be created. I notice that this only happens if my RLMObject
subclasses have RLMArray
properties. Removing them fixes the issue.
The failure reasons in the console log vary, but the common ones are:
[FAILED], could not create matcher for -receiveMessagePattern:countType:count:
[FAILED], could not create matcher for -receive:withCountAtLeast
and my favorite:
[FAILED], (null)
Anyone else run into this issue?