For OCMock, in target NetworkingIsFunTests / Build Settings / other linker flags add 3 entries: -force_load, "$(SRCROOT)/libOCMock.a", -ObjC

The project.pbxproj file shows these entries quoted and escaped.
Reference:
http://ocmock.org/ios/