Releases: erikdoe/ocmock
OCMock 3.9.4
If in doubt, download the .dmg file. It contains an XCFramework for macOS, iOS, tvOS, and watchOS development, an XCFramework with a static library for iOS development, and the source code.
Alternatively, you can include OCMock into you project using CocoaPods, Swift Package Manager, and Carthage. This might be easier than downloading the framework here.
Changes in this release:
- Fixed incompatibility with new version of Xcode
OCMock 3.9.3
If in doubt, download the .dmg file. It contains an XCFramework for macOS, iOS, tvOS, and watchOS development, an XCFramework with a static library for iOS development, and the source code.
Alternatively, you can include OCMock into you project using CocoaPods, Swift Package Manager, and Carthage. This might be easier than downloading the framework here.
Changes in this release:
- Removed visionOS from podspec because it's not fully supported yet.
Updated minimum deployment targets:
- macOS 10.15, iOS 12.0, tvOS 12.0, watchOS 7.0
OCMock 3.9.2
If in doubt, download the .dmg file. It contains an XCFramework for macOS, iOS, tvOS, and watchOS development, an XCFramework with a static library for iOS development, and the source code.
Alternatively, you can include OCMock into you project using CocoaPods, Swift Package Manager, and Carthage. This might be easier than downloading the framework here.
Changes in this release:
- Added Mac Catalyst architecture to dist build. (Maksym Koshtenko)
- Added visionOS to podspec. This is experimental, and there's no official support for visionOS in OCMock until it's available outside the beta.
- Stopped forwarding C++ constructors and destructors when using partial mocks (Tom Burgin)
- Fixed potential crashes when using OCMPassByRefSetters. (Dave MacLachlan)
Updated minimum deployment targets:
- macOS 10.15, iOS 12.0, tvOS 12.0, watchOS 4.0
OCMock 3.9.1
If in doubt, download the .dmg
file. It contains an XCFramework for macOS, iOS, tvOS, and watchOS development, an XCFramework with a static library for iOS development, and the source code.
Changes in this release:
- Removed unneeded excludes in package file to avoid warnings.
OCMock 3.9.0
If in doubt, download the .dmg
file. It contains an XCFramework for macOS, iOS, tvOS, and watchOS development, an XCFramework with a static library for iOS development, and the source code. The .zip
file is intended for users of Carthage.
Changes in this release:
- Added support for Swift Package Manager. (Paul Beusterien)
- Using Swift Package Manager for dependencies.
- Changed binary distribution to XCFramework.
- Added setting in podspec to disable bitcode. (Adil Hussain)
- Various bug-fixes and improvements to developer experience.
OCMock 3.8.1
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. The .zip
file is intended for users of Carthage.
Note: There is an incompatibility with Carthage and Xcode 12.3 at the moment. I have applied the workaround mentioned in the issue at Carthage/Carthage#3019 (comment). This might cause problems when using Apple Sillicon Macs for development.
Changes in this release:
- Restored compatibility with Xcode 11. Please note: support of older versions of Xcode is not guaranteed.
OCMock 3.8
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.
OCMock 3.7.1
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. The .zip
file is intended for users of Carthage.
Changes in this release:
- Fixed a bug that caused double-counting of method invocations on partial mocks under certain circumstances.
OCMock 3.7
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. The .zip
file is intended for users of Carthage.
Changes in this release:
- Fixed mocking init methods when using ARC. This worked before but could result in memory related crashes. (Dave MacLachlan)
- Added support for non-escaping blocks. (Dave MacLachlan)
- Numerous bug-fixes and improvements
OCMock 3.6
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. The .zip
file is intended for users of Carthage.