Test your wireframe search paths for your main goal and your test goal.
I had a lot of crap in mine.
had an old project written in Xcode 4, and just started using Unit Tests in Xcode 5.
Here is the minimum, I have to run my test project
Project Navigator > click on project at top > Targets > Build Settings > Framework Search Paths
TARGET:my_project $(inherited) "$(SRCROOT)" "$(SRCROOT)/my_project" TEST:my_projectTests "$(SDKROOT)/Developer/Library/Frameworks" <<XCTest.framework is here "$(DEVELOPER_LIBRARY_DIR)/Frameworks" "$(SRCROOT)/.." "$(SRCROOT)" << Documents/my_project "$(SRCROOT)/my_project" << Documents/my_project/my_project where directory structure is Documents/my_project my_project.xcodeproj /my_project
Note. If you drag and drop the framework into Xcode. Xcode 5 has a bad habit of hard-coding a path
/Users/gbxc/Documents/my_project
it should be
"$(SRCROOT)" << Documents/my_project "$(SRCROOT)/my_project" << Documents/my_project/my_project
therefore, if you move the project, problems may arise.
The best way to verify the correctness is to create a new project with one view that runs the tests in order.
Run the Test action By default it fails but at least testing is running then compare the Framework Search Paths.
brian.clear Nov 07 '13 at 15:48 2013-11-07 15:48
source share