Having an issue since updating to Xcode 4.5 when running my unit tests via command line. The following is the output i\'m seeing when i try to run my tests
U
Also there's little hack that can help to run command-line tests on iOS6.0 simulator SDK
I'm Using Cedar and this tweak helped me :
First, you need to update your main file a little:
// Faking up that workspace port
CFMessagePortCreateLocal(NULL, (CFStringRef) @"PurpleWorkspacePort", NULL, NULL,NULL);
return UIApplicationMain(argc, argv, nil, @"CedarApplicationDelegate");
Second, you need to add category to UIWindow:
@implementation UIWindow (Private)
- (void)_createContext {
// Doing nothing here. Just for crash avoidance
}
@end
Cedar Unittest will run fine, with some runtime warnings, but, at least they'll be able to run :)