You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mlaunch is unable to install or launch an app on device unless the device is connected with the USB cable, even if "Connects via Network" is enabled in Xcode.
Steps to Reproduce
Make sure device works in Xcode without the cable.
Try to launch an iOS app on the device.
mlaunch will say:
[...]
Please connect the device '[...]'...
Did you find any workaround?
Use the cable.
Relevant logs
No response
The text was updated successfully, but these errors were encountered:
If the phone is connected to a device that occupies the Lightning connector, then the workaround isn't viable. We need to debug our app while using this hardware and cannot.
Also, we only started seeing this when the phones were upgraded from iOS 16 to iOS 17. Apple changed the debugging infrastructure in iOS 17. I know that mlaunch was updated to match, but it appears that it doesn't work properly with wireless debugging. This might be related to the new "available" (but not connected) status that is seen when using devicectl.
If the phone is connected to a device that occupies the Lightning connector, then the workaround isn't viable. We need to debug our app while using this hardware and cannot.
Can you try launching connected, and once the app has launch disconnect from your mac and connect your hardware?
Starting the debugging session using the Lightning connector, then disconnecting the cable and connecting the hardware device, results in inconsistent behavior. Sometimes it actually works, but other times, the debugging session seems to disconnect, causing either the debugger or the app to hang.
I appreciate your attempt to find a workaround, but it really would be preferable to have the Microsoft tools manage the wireless debugging connection.
Apple platform
iOS
Framework version
net8.0-, net9.0-
Affected platform version
All
Description
mlaunch is unable to install or launch an app on device unless the device is connected with the USB cable, even if "Connects via Network" is enabled in Xcode.
Steps to Reproduce
mlaunch will say:
Did you find any workaround?
Use the cable.
Relevant logs
No response
The text was updated successfully, but these errors were encountered: