I followed the instructions on Unit Testing objective C from Apple: http://developer.apple.com/tools/unittest.html
I installed the latest version of OCUnit, but when I compile, software u开发者_运维技巧pdate starts and tells me I need to install Resetta. What's going on?
Those instructions are outdated. You shouldn't need to install OCUnit at all, it's built into XCode 2.1 and later. Perhaps you downloaded an old PowerPC version?
the iOS Development Guide has a section on Unit Testing that's much more up-to-date.
There's also one for Mac OS X.
精彩评论