Re: ios gh-unit doesn't work?

42 views
Skip to first unread message

Joshua Moody

unread,
Mar 6, 2013, 12:05:04 PM3/6/13
to ghu...@googlegroups.com
> tests/main.m:14:68: Use of undeclared identifier 'GHUnitIOSAppDelegate'

are you sure the line looks like this:

return UIApplicationMain(argc, argv, nil, @"GHUnitIOSAppDelegate");

the undeclared identifier makes me thing you are trying to pass a symbol instead of string.

jjm

On 1 Mar, 2013, at 7:56 PM, Scott Yelich <scott...@gmail.com> wrote:

>
>
> I'm following: http://gabriel.github.com/gh-unit/docs/appledoc_include/guide_install_ios_4.html
>
> I'd done this part:
> • In Tests folder, in Supporting Files, main.m, replace the last argument of UIApplicationMain with @"GHUnitIOSAppDelegate". Remove the #import “AppDelegate.h” if present.
>
> my code looks like this ('cept for the comments): http://gabriel.github.com/gh-unit/docs/appledoc_include/images/10_main.png
>
> and in trying to compile the target -- of course -- I get:
>
> tests/main.m:14:68: Use of undeclared identifier 'GHUnitIOSAppDelegate'
>
>
> There's no include of anything .h for GHUnit -- how can the project know about the Class GHUnitIOSAppDelegate?
>
> Is there a missing assumption somewhere? The framework is linked as part of the target -- but, of course, linking comes after all the compiling is already done.
>
> Scott
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "GHUnit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ghunit+un...@googlegroups.com.
> To post to this group, send email to ghu...@googlegroups.com.
> Visit this group at http://groups.google.com/group/ghunit?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages