I have problems running a project in Xcode 5.0.2
I get the following error:
dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest
Ref
This is how I solved the problem:
Go to General > Targets (Left side).
You might have 2nd item containing the word test/s. Click it.
In this general settings > Testing > Host application > Select from options (your app name). That's it!
I solved this problem this way. I have edited scheme, at "Build" tab ticked "Run".