iphone sends log files to desktop Console app via wifi

Solution 1:

I believe I have found the culprit...iMazing...or rather, iMazing's communicate-to-iOS-device-via-Wifi feature.

At some point over the last year or so, I had installed iMazing which, for those who are unaware, is an iOS device management and backup utility. And as mentioned above, one of their features is communication with iOS devices via WiFi. When this is enabled, it uses the same lockdown\usbmuxd application that XCode and others use.

SIDEBAR: "usbmuxd" is a daemon that allows communication to\from iOS devices via USB\WiFi and is the underlying transport control-plane for the "lockdown" service.

Anyway, after installing iMazing, I then at some point enabled the WiFi connection feature but later forgot I had done so. However, when the feature is enabled in iMazing, it doesn't show as such in XCode nor does it always show as enabled in iMazing. Therefore, it will not always be readily apparent that iMazing is the reason why the usbmuxd channel is open.

In any event, I was able to get the iMazing instance of usbmuxd closed and then everything began working as expected.


Last, a little insight as to why this wasn't readily apparent when digging into the OS. The primary reason is because when looking at all of the elements that relate to usbmuxd & lockdown, there was literally no clue that a 3rd party application had opened up the usbmux channel to the device. When looking at the IP connections to the device, everything looked exactly as it does when the connection is spawned by XCode's "Connect via network" feature. But again, when checking that feature, it showed as disabled.

In the case of iMazing, the only OS level clue that it had opened the usbmuxd channel was an entry in the app's Devices.plist. The entry in question is labeled "WiFiConnectionOn" and has a binary value of "YES \ NO".