Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
281 views
in Technique[技术] by (71.8m points)

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

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...