Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Latest commit

 

History

History
10 lines (8 loc) · 870 Bytes

README.markdown

File metadata and controls

10 lines (8 loc) · 870 Bytes

OCMock is a implementation of mock objects in Objective-C available from http://www.mulle-kybernetik.com/software/OCMock/ This branch adds a static library built target for iPhone OS projects to link against.

To install

  • git clone ... or git submodule add ... this repository into your project.
  • In Xcode's preferences' "building" tab place build products in a customized location and intermediate build files in with build products (or add the appropriate build folders to your projects library search path).
  • Add "OCMock.xcodeproj" to your project.
  • Add the "libOCMock.a" library as a direct dependency of your build target and to your target's "link binary with libraries" build phase.
  • Add -ObjC, -all_load, and -lstdc++ to your build target's "Other Linker Flags"
  • #import <OCMock/OCMock.h>