Bug 3654 - Debug/Release builds on iOS device fail after install - MT0000 error
Summary: Debug/Release builds on iOS device fail after install - MT0000 error
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.2
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-02-27 04:38 UTC by appclay
Modified: 2012-02-28 06:40 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED NOT_ON_ROADMAP

Description appclay 2012-02-27 04:38:55 UTC
MonoTouch 5.2.5 | iOS 5.0.1 | iPad 1 | MacOS 10.6.8 | MonoDevelop 2.8.6.5 | Mono 2.10.8

I get the following error after deployment to my iPad for one of my projects.  The app does not start and if I try to start it manually on the device I just get a black screen.  It works fine in the simulator.  I just checked with another project (one which I just tested on the same device a few days ago, and it worked fine then), and the same problem is occurring.  Also with this other project, it uploaded a second copy of the application to the device, rather than replacing the one that was already there!

Please ensure your device is connected...
Connected to: Anonymised’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 () <0x001b3>
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) <0x000cf>
at MonoTouch.Installation.Installer.KillApplication (string) <0x0005f>
at MTouch.Main2 (string[]) <0x03c1f>
at MTouch.Main (string[]) <0x0001f>
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-02-27 06:43:46 UTC
Which version of Xcode do you have installed?
Comment 2 appclay 2012-02-28 04:23:27 UTC
3.2.5
Comment 3 Rolf Bjarne Kvinge [MSFT] 2012-02-28 06:40:15 UTC
We only support newer releases of Xcode (4.2 / 4.3) with MonoTouch 5.

You can either get Xcode 4.3 from the AppStore (for free), or download an older version of MonoTouch (4) from your Xamarin Store account.