Skip to content

OCMock 3.8

Compare
Choose a tag to compare
@erikdoe erikdoe released this 23 Dec 19:07
· 132 commits to master since this release

If in doubt, download the .dmg file. It contains frameworks for macOS, iOS, tvOS, and watchOS development, a static library for iOS development, and the source code.

Note that there's currently no zip archive for Carthage users. Unfortunately, the architecture-related changes have also impacted Carthage. Once Carthage/Carthage#3019 is resolved it should be possible to provide Carthage support again.

Changes in this release:

  • Added support for ARM-based Macs. Unfortunately, this means that the hack to combine the device targets with the simulator targets no longer works. The binary distribution will be simulator only now.
  • Stubs can now fulfill XCTest expectations. This requires OCMock to link against XCTest; except on watchOS where it's not supported. (Dave MacLachlan)
  • Added two new stub actions to help with debugging. (Dave MacLachlan)
  • Classes can block OCMock from creating mocks. (Dave MacLachlan)
  • Added function to determine whether a class is a dynamically created mock class or a subclass of one.
  • Deprecated notification observer mocks. This can now be done with XCTest.
  • Various bug-fixes and improvements to developer experience.