Mac OS X 10.6.8 Xcode 4.2 GHUnit 0.5.6
- Download GHUnitIOS-0.5.6.zip from downloads
- Unzip the file. And you can see "GHUnitIOS.framework" directory
- Create new project in Xcode
- Add Target as Empty application 'Tests' for GHUnit
- Import GHUnitIOS.framework into Frameworks
- Right-click "Frameworks" and 'Add Files to "XXXX"...' in project navigator.
- I checked "Copy items into destination group's folder (if needed)" checkbox.
- Add settings to 'Other Linker Flags' in build settings of Tests.
- In the Tests target, Build Settings, under Other Linker Flags, add -ObjC and -all_load.
- delete unused files
- Tests/AppDelegate.h
- Tests/AppDelegate.m
- Change AppDelegate class name to GHUnitIOSAppDelegate
- add QuartzCore.framework into Link Binary in "Tests" - "Build Phases" - "Libraries"