Troubleshooting iOS

 

1 - Error Domain=DTXProxyChannel Code=1 « (null) » UserInfo={DTXProxyChannelErrorMessage=Channel disconnected}

Solution : Insert the USB cable into another port


2 - xcodebuild: error: Unable to find a destination matching the provided destination specifier.

Solution : It is a connection problem between the device and the computer. On Xcode, go to Window > Devices and Simulators, and check if the device is still connected.