I am trying to get started with tdd inside Xcode and follow a very nice tutorial .
Everything went well. However, when I want to create a command-line application (in c) in Xcode, a separate test folder was not created.
I want to build a random graph implementation, and my project graph consists of main.c, graph.h and graph.c. I decided to add a test file (object file of test file C).
Here I have an import of XCTest / XCTest.h, but when I start (Product-> run) I get an error that XCTest / XCTest.h was not found. I also can not start the test mode (Product-test).
Why is this header file not found? and how to fix it?
stian source
share