Simulator crashes when touching Run button

2 views
Skip to first unread message

maxm007

unread,
Dec 12, 2009, 10:23:47 AM12/12/09
to GHUnit
I just added the example test you provide and try to run the tests

No clear error in the logs except for line complaining about not
finding NSMainNibFile.

The stack trace is
#0 0x973b0286 in mach_msg_trap
#1 0x973b7a7c in mach_msg
#2 0x007b7382 in CFRunLoopRunSpecific
#3 0x007b6c48 in CFRunLoopRunInMode
#4 0x0011978d in GSEventRunModal
#5 0x00119852 in GSEventRun
#6 0x0168a003 in UIApplicationMain
#7 0x00002133 in main at GHUnitIPhoneTestMain.m:55



Gabe

unread,
Dec 13, 2009, 5:10:47 PM12/13/09
to ghu...@googlegroups.com
I would double check that:
Under 'Other Linker Flags' in the Test target, add -ObjC and -all_load
(-all_load may be necessary for running on 3.0 device)

You can also try to compare your Test target with the example project in:
http://github.com/gabriel/gh-unit/tree/master/Examples/MyTestable-IPhone/
> --
>
> You received this message because you are subscribed to the Google Groups "GHUnit" group.
> To post to this group, send email to ghu...@googlegroups.com.
> To unsubscribe from this group, send email to ghunit+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ghunit?hl=en.
>
>
>
Reply all
Reply to author
Forward
0 new messages