Bug 3274 - Debugger can't connect to device (ipad 1, latest iOS installed)
Summary: Debugger can't connect to device (ipad 1, latest iOS installed)
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-02-08 12:29 UTC by uwcanada
Modified: 2012-02-08 16:21 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description uwcanada 2012-02-08 12:29:48 UTC
Device formerly connected fine; project deployed to app store for 12 months. Have not touched project in 4 months+. Provisioning profile just expired for app. Had trouble renewing. Killed all existing certificates/provisioning profiles on device, Mac dev box, and iOS Provisioning Portal. Recreated new Provisioning Profile and installed to Mac dev box and it appears on the device. Everything appears fine, but on Debug of the app on the hardware device, I get:

Please ensure your device is connected...
Connected to: shane’s iPad
error MT0000: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com
System.ArgumentException: name is an unknown class
Parameter name: DTDKDeviceSupportFiles
at MonoTouch.ObjCRuntime.Class..ctor (string) <0x0006f>
at MonoTouch.Installation.Device.get_DeveloperImagePath () <0x0019b>
at MonoTouch.Installation.Device.MountDeveloperImage () <0x0001b>
at MonoTouch.Installation.Installer.KillApplication (MonoTouch.Installation.Device,string) <0x0002f>
at MonoTouch.Installation.Installer/<KillApplication>c__AnonStorey6.<>m__7 (MonoTouch.Installation.Device) <0x00017>
at MonoTouch.Installation.Installer/<ExecuteWithSession>c__AnonStorey3.<>m__2 (object,System.EventArgs) <0x000ef>
at MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info&) <0x0006e>
at (wrapper native-to-managed) MonoTouch.Installation.Device.NotificationCallback (MonoTouch.Installation.Device/am_device_notification_callback_info&) <0x0003f>
at (wrapper managed-to-native) MonoTouch.CoreFoundation.CFRunLoop.CFRunLoopRun () <0x00003>
at MonoTouch.CoreFoundation.CFRunLoop.Run () <0x0000b>
at MonoTouch.Installation.Installer.ExecuteWithSession (MonoTouch.Installation.Installer/Executor) <0x000d7>
at MonoTouch.Installation.Installer.KillApplication (string) <0x0005f>
at MTouch.Main2 (string[]) <0x03c0b>
at MTouch.Main (string[]) <0x0001f>
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-02-08 13:04:18 UTC
Which version of Xcode / iOS SDK do you have installed?
Comment 2 uwcanada 2012-02-08 13:12:18 UTC
That was it. I had just updated prior to receiving your message and it worked. I was on Xcode 4 and moved to 4.2 and that did it.

Thank you for your quick and helpful response. Consider this closed.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2012-02-08 16:21:40 UTC
OK, great. Closing this then.