Nimble: Crash using Nimble 5.0.0 & OCMock 3.3.1
Migrating https://github.com/erikdoe/ocmock/issues/319 here. I couldn’t quite figure it out, but it seems like Nimble was failing to print a description of an OCClassMockObject.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (9 by maintainers)
I’m starting to break out into a cold sweat with the announcement that Xcode 8.3 will drop Swift 2.3 support. Once that happens, I won’t have functioning tests. Any further ideas on a possible fix? I’ll take another look soon.
Sure, I’ll try to take a look today.
Maybe we should have a special handling for
NSProxy?descriptionofNSObjectProtocol, which will be the counterpart of Swift’sCustomStringConvertibleis implemented onNSProxy. On the other hand,debugDescriptionofNSObjectProtocol, which may meanCustomDebugStringConvertiblein Swift is an optional property and will not be implemented onNSProxy.