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)

Most upvoted comments

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?

description of NSObjectProtocol, which will be the counterpart of Swift’s CustomStringConvertible is implemented on NSProxy. On the other hand, debugDescription of NSObjectProtocol, which may mean CustomDebugStringConvertible in Swift is an optional property and will not be implemented on NSProxy.