Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

failed to send the qLaunchSuccess packet, can't debug in the device

Tags:

iphone

ipad

When I run the application, it is installed in the device, but will crash immediately. I want to debug in the device, below is the information:

error: failed to launch '/Users/wujinjin/Library/Developer/Xcode/DerivedData/化龙巷-gyktkapynghuobbqslisrornfrut/Build/Products/Debug-iphoneos/化龙巷.app/化龙巷' -- failed to send the qLaunchSuccess packet

information from device:

Exception Type: 00000020 Exception Codes: 0x8badf00d Highlighted Thread: 0

Application Specific Information: 化龙巷 failed to launch in time

Elapsed total CPU time (seconds): 20.030 (user 17.830, system 2.200), 100% CPU Elapsed application CPU time (seconds): 0.000, 0% CPU

Backtrace not available

Unknown thread crashed with unknown flavor: 5, state_count: 1

Binary Images: 0x2fe00000 - 0x2fe25fff dyld armv7 /usr/lib/dyld

like image 401
user1279968 Avatar asked Mar 23 '12 05:03

user1279968


2 Answers

I was having the same error "-- failed to send the qLaunchSuccess packet"

I was able to fix by setting the Code Signing Entitlements to "iPhone Developer" (I was using distribution by mistake)

like image 85
jeckil Avatar answered Oct 20 '22 00:10

jeckil


Restart the device. Worked for me.

like image 29
Max B. Avatar answered Oct 19 '22 23:10

Max B.