Project uses OCHamcrest. Locally, works fine using this command:
xcodebuild clean test -workspace myProject.xcworkspace -scheme myProjectTests -destination 'platform=iOS Simulator,name=iPad'
When run in TeamCity, it fails compiling, claiming it cannot find the OCHamcrest header files.
The files are there, a find . -name command from the work directory shows them.
Fiddled with the Header search path, point it to the directory. Didn't seem to matter. Doesn't look like it constructs the commands properly. Not sure why xcode has no problem finding the headers locally.