HELP!!!The Debugger has exited due to signal 10(SIGBUS)


I'm trying to migrate a windows/mac Platform unity project to iphone version,My unity version is 3.2 iphone.

The project has about twenty JS file.I had add #pragma strict on the first line of every JS files and handled every complier error,such as "getcomponent"...,I had struggled for couple days.

NOW in my MAC and unity ,everything works fine,no error,no warning message.

BUT,when i build and run to my ipod touch,things be difficult:

1.the "Powered by Unity loading ..." appears on my ipod touch (general 1);

2.after a moment ,the Debugger Console of Xcode appears:

Program received signal: 0. The Debugger has exited due to signal 10 (SIGBUS).The Debugger has exited due to signal 10 (SIGBUS).

when i "Build and Debug" in Xcode again,a "Internal Error" message appear:

Uncaught Exception: -[PBXDebugScriptCommand debugSessionDidStart:]: unrecognized selector sent to instance 0x200eec2e0 Stack Backtrace: The stack backtrace has been logged to the console.

After search in documents,I know it may be a NULL REFERENCE error,

My question is:


Because the Debugger Console shows nothing about the error statement line.

Thank you very much!!!

I have not tried the new debugging stuff, and it's been a while since I had such problems on my iOS, but what I did was start disabling things in my scene until the problem went away, then start re-enabling them, until I narrowed it down to the offending object(s). Then I populated associated scripts with lots of Debug.Log statements which do dump to the XCode console, and eventually figure out what the offending things were. Very tedious.