Unit Testing in iphone i got below error.
Posted
by
Pradeep
on Stack Overflow
See other posts from Stack Overflow
or by Pradeep
Published on 2011-01-05T04:50:00Z
Indexed on
2011/01/05
4:53 UTC
Read the original article
Hit count: 195
unit-testing
|iphone-sdk-4.1
whenever i run the unit testing application to find whether appdelegate is there r not using the test suit
-(void)testAppDelegate
{
id app_delegate=[[UIApplication sharedApplication]delegate];
STAssertNotNil(app_delegate,@"delegate not found");
}
i got this error. Please help.
"_OBJC_CLASS_$_UIApplication", referenced from:
objc-class-ref-to-UIApplication in Tests.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
© Stack Overflow or respective owner