Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. platform :ios, '7.0'
  2. xcodeproj 'myProject.xcodeproj'
  3.  
  4. target :myTestTarget do
  5. pod 'OCMock', '~> 3.0.2'
  6. end
  7.  
  8. link_with "myTestTarget"
  9.  
  10. - (void) test_myTest
  11. {
  12. MyObject *obj = [MyObject new];
  13. id robotMock = OCMPartialMock(obj);
  14.  
  15. [obj testMethod];
  16.  
  17. // some asserts
  18. OCMVerify([obj _internalMethodToBeCalled]);
  19. }
  20.  
  21. Undefined symbols for architecture i386:
  22. "OCMMakeLocation(objc_object*, char const*, int)", referenced from:
  23. -[MyTests test_myTest] in MyTests.o
  24. ld: symbol(s) not found for architecture i386
  25. clang: error: linker command failed with exit code 1 (use -v to see invocation)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement