Wireless debugging

The charging port of my iPhone may be damaged due to water, and it cannot be charged and transmitted data. It can only be charged wirelessly that does not support data transmission. However, since Xcode supports wireless debugging, I can continue to test my App. However, I recently changed to a new Mac, but there is no connection record with the iPhone in the new Mac, which makes it impossible to debug wirelessly.

So I want to know how to realize wireless debugging on such a device without debugging records?

Answered by DTS Engineer in 826514022

Unfortunately I don’t see a good way forward for you here. While modern versions of Xcode fully support debugging over Wi-Fi, the initial setup requires a wired connection (USB or Lightning). If your port is physically broken, you won’t be able to set up debugging )-:

Sorry I don’t have better news here.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

Unfortunately I don’t see a good way forward for you here. While modern versions of Xcode fully support debugging over Wi-Fi, the initial setup requires a wired connection (USB or Lightning). If your port is physically broken, you won’t be able to set up debugging )-:

Sorry I don’t have better news here.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

So I want to know whether this method is feasible.

I don’t know for sure, but I suspect not. The interface used by the debugger has to be secure. Such interfaces usually involve some sort of cryptographic pairing, so that the one peer knows that it’s talking to the same peer as it was previously. Such pairing often involved hardware-bound keys, that is, private keys that can’t leave the device on which they were created.

Regardless, this is most definitely not something I can help you with. Sorry.

ps It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Wireless debugging
 
 
Q