Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Since installing MD 18.104.22.168 (alpha), debugging on an iPad device has been troublesome. Despite an iPad 2 being connected via the USB and with debugging configured to work over Wi-Fi, it frequently connects to other iOS devices found on the Wi-Fi network.
If I unplug the iPad from the USB and reconnect it, then restart the debugger, it connects to the correct device. I am having to do this every second or third time I attempt to debug my application on the device.
Here is the output from the "Deploy to Device" window:-
(it should be connecting to "Joseph's iPad 2" not the iPhone)
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" -installdev "/Users/joe/Projects/Mono/ACR/SalesTALK/SalesTALK/SalesTALK/bin/iPhone/Debug/ACRSalesTALK.app"
Please ensure your device is connected...
Connected to: Joseph’s iPhone 4S
Initializing file service...
Installation failed: AMDeviceStartService returned: 0x0 (kAMDSuccess)
error MT1006: Could not install the application '/Users/joe/Projects/Mono/ACR/SalesTALK/SalesTALK/SalesTALK/bin/iPhone/Debug/ACRSalesTALK.app' on the device '': AMDeviceStartService returned: 0x0 (kAMDSuccess).
The application was terminated by a signal: SIGHUP
Here is the listing of my MD environment:-
Installation UUID: 075386b0-58e8-4bee-92bd-faf016b46d99
Mono 2.10.9 (tarball)
Package version: 210090011
Mono for Android not installed
Apple Developer Tools:
Xcode 4.3.2 (1177)
Release ID: 30003001
Git revision: 1b6ffb8235519a006d51afd98014ad20186cfd1b-dirty
Build date: 2012-06-08 08:39:08+0000
Xamarin addins: 62ad7268d38c2ece7e00dc32960bd3bdab8fec38
Mac OS X 10.7.4
Darwin Josephs-MacBook-Pro.local 11.4.0 Darwin Kernel Version 11.4.0
Mon Apr 9 19:32:15 PDT 2012
Rolf: can you look into this?
Can you try to execute the following from a terminal several times and check if the device it connects to changes? Do you get the same results if you run it after it has connected to the wrong device from MonoDevelop?
I have not seen this happen again. I am happy to close this bug.