Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- platform :ios, '7.0'
- xcodeproj 'myProject.xcodeproj'
- target :myTestTarget do
- pod 'OCMock', '~> 3.0.2'
- end
- link_with "myTestTarget"
- - (void) test_myTest
- {
- MyObject *obj = [MyObject new];
- id robotMock = OCMPartialMock(obj);
- [obj testMethod];
- // some asserts
- OCMVerify([obj _internalMethodToBeCalled]);
- }
- Undefined symbols for architecture i386:
- "OCMMakeLocation(objc_object*, char const*, int)", referenced from:
- -[MyTests test_myTest] in MyTests.o
- ld: symbol(s) not found for architecture i386
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement