I got stuck when I try to deploy the test app on my device. When I click run on XCode, the device is going to run the application. However, it stuck in the first view. And nothing is moving. I was wondering if there is something wrong. Is it caused by jailbreak? My ios version is 5.0.1. Then someone tell me what I could do to solve it.
Asked
Active
Viewed 98 times
0
-
Do you get any msg on the log? – Antonio MG Mar 06 '12 at 13:42
-
nope. Just stopped at the first view – seanxiaoxiao Mar 06 '12 at 13:45
-
With stuck you mean freezed? Or that you dont see anything? – Antonio MG Mar 06 '12 at 13:46
-
check if the frame of your view is correctly set. if clipsToBounds is NO (default), subviews are displayed outside of the frame-rect but touch handling is not done – Martin Ullrich Mar 06 '12 at 13:48
-
@MartinUllrich it doesn't make sense. I mean, it could work fine in the simulator. Why it can't on device. – seanxiaoxiao Mar 06 '12 at 13:50
-
i had this problem a couple of times.. other approach: change the debugger to gdb if it is set to lldb – Martin Ullrich Mar 06 '12 at 13:52
-
Thanks @MartinUllrich. I will try immediately after I click the Add Comment Button. – seanxiaoxiao Mar 06 '12 at 13:53
1 Answers
1
There are some strange launch issues when debugging with LLDB.
Try using GDB instead
(EDIT) Latest Xcode 4.3 update with LLDB-112 should fix a lot of problems (but there are still bugs including reading of ivars)

Community
- 1
- 1

Martin Ullrich
- 94,744
- 25
- 252
- 217