Downloads

Stable Releases

The disk images contain frameworks for macOS, iOS, tvOS, and watchOS development, a static library for iOS development, and the source code. As of OCMock 3.9.0 the binary distribution contains XCFrameworks.

Usually the releases can be used on newer systems, too. For example, OCMock 3.1, built with Xcode 6.2 using the OS X 10.10 and iOS 8.2 SDKs, can also be built with Xcode 7 and its newer SDKs.

However, there is no guarantee that a release of OCMock can be built with versions of Xcode older than the current stable version at release.

Release Build SDKs Deployment Targets Date File
OCMock 3.9.1 macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0 OS X 10.10, iOS 9.0, tvOS 9.0, watchOS 4.0 31-Oct-2021 ocmock-3.9.1.dmg

Changes in OCMock 3.9.1:

  • Removed unneeded excludes in package file to avoid warnings.

Changes in OCMock 3.9.0:

  • 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.

More details: change log, milestone

OCMock 3.8.1 macOS 11.1, iOS 14.3, tvOS 14.3, watchOS 7.2 OS X 10.10, iOS 9.0, tvOS 9.0, watchOS 4.0 30-Dec-2020 ocmock-3.8.1.dmg
OCMock 2.2.4 OS X 10.9, iOS 7.1 Mac OS X 10.6, iOS 5 4-Apr-2014 ocmock-2.2.4.dmg

Source code

The source code for OCMock is available on GitHub

   https://github.com/erikdoe/ocmock

It is built and tests are run by Travis CI. The current status is shown above on the right. If this isn't showing passing, chances are the code is currently not building correctly and we're busy trying to fix it. In all other cases, a local build from source should work.

License for OCMock 3.x

Copyright (c) 2004-2021 Erik Doernenburg and contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

License for OCMock 1.x and 2.x

Copyright (c) 2004 - 2014 by Mulle Kybernetik. All rights reserved.

Permission to use, copy, modify and distribute this software and its documentation is hereby granted, provided that both the copyright notice and this permission notice appear in all copies of the software, derivative works or modified versions, and any portions thereof, and that both notices appear in supporting documentation, and that credit is given to Mulle Kybernetik in all documents and publicity pertaining to direct or indirect use of this code or its derivatives.

THIS IS EXPERIMENTAL SOFTWARE AND IT IS KNOWN TO HAVE BUGS, SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. THE COPYRIGHT HOLDER ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. THE COPYRIGHT HOLDER DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF ANY DERIVATIVE WORK.