iphone example Crash.

4 views
Skip to first unread message

Favo Yang

unread,
Sep 4, 2009, 4:14:16 AM9/4/09
to JSCocoa
I just clone the from git and fix a Classes directory missing issue,
then build on simulator with SDK 3.0. However it crash.


Pending breakpoint 1 - "objc_exception_throw" resolved
2009-09-04 16:09:04.283 iPhoneTest2[61754:20b] ***************About to
call JSCocoaObjCMsgSend.addFloat_Float_
2009-09-04 16:09:04.290 iPhoneTest2[61754:20b] JSException:
ReferenceError: Can't find variable: JSCocoaObjCMsgSend on line 4 of /
Users/favo/Library/Application Support/iPhone Simulator/User/
Applications/EC72A8DA-77BD-4BD8-927E-A66D6808864B/iPhoneTest2.app/
iPhoneMain.js
2009-09-04 16:09:04.578 iPhoneTest2[61754:20b] Unknown class
iPhoneTest2AppDelegate in Interface Builder file.
2009-09-04 16:09:04.588 iPhoneTest2[61754:20b] Unknown class
iPhoneTest2ViewController in Interface Builder file.
(gdb) continue
2009-09-04 16:09:14.497 iPhoneTest2[61754:20b] *** Terminating app due
to uncaught exception 'NSUnknownKeyException', reason:
'[<UICustomObject 0xd5c1b0> setValue:forUndefinedKey:]: this class is
not key value coding-compliant for the key viewController.'
2009-09-04 16:09:14.498 iPhoneTest2[61754:20b] Stack: (
807902715,
2425835067,
808061681,
810717848,
810716389,
816538544,
807805711,
816533170,
816541363,
814712305,
814750229,
814739251,
814722434,
814748641,
839148405,
807687520,
807683624,
814715661,
814752238,
10197,
9590
)

Patrick Geiller

unread,
Sep 4, 2009, 8:45:49 AM9/4/09
to jsc...@googlegroups.com

Hi,

That's fixed. Sorry about that, I removed debugging code from JSCocoa
and forgot to remove it from the iPhone sample.

-Patrick
Reply all
Reply to author
Forward
0 new messages