Reputation: 81
When I make a build, the build is installed in the device but XCode is giving this error:
"failed to get reply to handshake packet"
and it won't launch the game, so I'm not able to see the console for debugging. The game runs fine if I manually start it in the device. I need the see the console for debugging.
My XCode version is 5.1 iOS version in the device is 7.1 (iPod Touch 5th gen) Unity is 4.3.3
I really appreciate any solution from you guys.
Thanks in advance.
Upvotes: 8
Views: 13577
Reputation: 1226
Cmd+Shift+K solved my issue.
This combination actually cleans the build folder. This way the next build will be fresh and will remove any issues in the previous build(s).
Upvotes: 6
Reputation: 333
This might be a bit late for the op, but I found that my problem was caused by having my app running manually on the device. It seems that if you launch the app on the device then xcode can't connect to the process and the handshake error is reported.
Upvotes: 9
Reputation: 1917
I know it's a late answer, but in my case a simple Clean command solved the problem.
Upvotes: 7
Reputation: 36129
Check that you're not running using a release configuration.
Go to Product Menu > Scheme > Edit Scheme and make sure that the Run item is using the Debug build configuration.
Upvotes: 0