erikdoe / ocmock

Mock objects for Objective-C
http://ocmock.org
Apache License 2.0
2.16k stars 606 forks source link

Undefined symbols for architecture x86_64: #318

Closed khaire1111 closed 7 years ago

khaire1111 commented 8 years ago

"_OBJCCLASS$_SocialAn", referenced from: objc-class-ref in ViewController.o objc-class-ref in DetailViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

erikdoe commented 8 years ago

This doesn't look like a problem with OCMock. Please check how you link all your other code with your tests.

khaire1111 commented 7 years ago

thanks for replies, I create custom frameword and implement into my project it's working all flow on debug mode but when I create same as release mode it gives error like above mentioned.

erikdoe commented 7 years ago

Like I said, from the information you provided, there is no reason to believe this has anything to do with OCMock. Regarding issues, please review the contribution guidelines: https://github.com/erikdoe/ocmock/blob/master/CONTRIBUTING.md