Recently I started Unit testing my application. This project (in Xcode4) was created without a unit test bundle so I had to set it up. I have followed the steps from here: h
The reason is that you override RUNPATH_SEARCH_PATHS of your App Target`s build setting defined in other target.
RUNPATH_SEARCH_PATHS
Solution:
Go to your App Target and find RUNPATH_SEARCH_PATHS build setting and use there $(inherited) flag for both: Debug and Release
$(inherited)