I was not able to find the latest information on using OCUnit tests with Xcode 4, even if it is a modified feature.
Apples own documentation in the Organizer since 2005 (OS X 10.3).
I thought I was just going and trying to set it up myself.
1: Created a new test target. (TestUnit)
2: Make sure that all basic SDK settings in the project and goals are set to iOS 4.3.
3: added test class
4: Make sure the search path in the wireframe points to the frame folder
(4.1?) Manually added the SenTesting framework to my testTarget
When I install my circuit on "TestUnit iOS 4.3 Simulator" and try to run it, I get an error message: "The selected destination is not valid for this action."
I have no idea whether it would be more accurate to add OCUnit testing for Xcode 4, so if someone has a resource or steps can be specified, I would be grateful.
Thanks in advance.
Rickig
source share