Xcode 4 and unit tests
Xcode 4 and unit tests
- Subject: Xcode 4 and unit tests
- From: "McLaughlin, Michael P." <email@hidden>
- Date: Fri, 01 Apr 2011 14:21:26 -0400
- Acceptlanguage: en-US
- Thread-topic: Xcode 4 and unit tests
I delayed installing Xcode 4 until it was released. I now have Xcode 4.0.1
installed in parallel to Xcode 3.2.6.
I am not very familiar with Xcode 4 nor with the unit testing mechanism it
uses. Therefore, I set forth to remedy the latter situation.
Hoping that it would ³just work², I created a new (non-document) Cocoa app
project with unit tests enabled and Git disabled. Building for running
worked well and the app ran as expected.
Building for testing failed with the error
SenTestingKit/SenTestingKit.h file not found
I saw that the SenTestingKit framework was not in the project but that its
header path was specified in the Build options. Just to be sure, I added
this framework to the Other Frameworks group in the project. The build for
testing still failed even when I added this framework to both targets.
Nothing in the User Guide prepared me for this. Am I missing something
obvious?
Thanks.
--
Mike McLaughlin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden