I have started working with OCMock
to write test cases for the existing project that I have integrated in my project workspace. After following all the steps mentioned in this link.
When I first executed my test case it's giving the error above. I searched it and tried following some of the solutions like creating new target, restarting Xcode but it didn't help me out. Any idea?
I have my notes and demo applications for both Cocoapods and Carthage here https://github.com/onmyway133/TestTarget
Runpath Search Paths
to point to $(FRAMEWORK_SEARCH_PATHS)
More info
I'm using carthage and problem for me was searching for dependencies in a test target. Fix:
Add $(PROJECT_DIR)/Carthage/Build/iOS
to Runpath Search Paths
You can find reference here: Carthage issue
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With