Can not run on my device.

I try the sample code - View 3d. The program can run in my simylator. It's good. But after i try to run it on device. It's dowm.
2009-06-17 11:31:07.992 Demo_3D[716:207] *** -[UIApplication terminate]: unrecognized selector sent to instance 0x1112e0
2009-06-17 11:31:08.009 Demo_3D[716:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIApplication terminate]: unrecognized selector sent to instance 0x1112e0'
2009-06-17 11:31:08.022 Demo_3D[716:207] Stack: (
808001701,
805397928,
808005509,
807501935,
807464352,
22147,
19355,
32759,
35001,
24321,
814683556,
814682492,
814970032,
814968048,
814966908,
839149932,
807750263,
807747947,
814678868,
814672532,
22065,
19241,
32061,
32709,
35001,
19511,
8244
)
terminate called after throwing an instance of 'NSException'
Program received signal: “SIGABRT”.
2009-06-17 11:31:07.992 Demo_3D[716:207] *** -[UIApplication terminate]: unrecognized selector sent to instance 0x1112e0
2009-06-17 11:31:08.009 Demo_3D[716:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIApplication terminate]: unrecognized selector sent to instance 0x1112e0'
2009-06-17 11:31:08.022 Demo_3D[716:207] Stack: (
808001701,
805397928,
808005509,
807501935,
807464352,
22147,
19355,
32759,
35001,
24321,
814683556,
814682492,
814970032,
814968048,
814966908,
839149932,
807750263,
807747947,
814678868,
814672532,
22065,
19241,
32061,
32709,
35001,
19511,
8244
)
terminate called after throwing an instance of 'NSException'
Program received signal: “SIGABRT”.