Whenever I try to download MonoTouch to a device, I get the following output and a console error:
/Developer/MonoTouch/usr/bin/mtouch -installdev="/Users/Chris/Documents/Monotouch Projects/UITextFieldTest/UITextFieldTest/bin/iPhone/Debug/UITextFieldTest.app"
Please ensure your device is connected...
Connected to: OAI
Initializing file service...
Uploading application
Finalizing file service...
Connected to: OAI
Installing application
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at MonoTouch.Installation.Installer.InstallApplication (object,System.EventArgs) <0x001b6>
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&) <0x0003d>
at (wrapper managed-to-native) MonoTouch.CoreFoundation.CFRunLoop.CFRunLoopRun () <0x00003>
at MonoTouch.CoreFoundation.CFRunLoop.Run () <0x0000d>
at MonoTouch.Installation.Installer.InstallApplication (string) <0x00151>
at MTouch.Main (string[]) <0x032d1>
The application was terminated by a signal: SIGHUP
I have tried many projects, some of which are examples directly from the WROX and MonoTouch websites. All work flawlessly in the simulator and compile perfectly. However, when I try to download or run them on my device, I always get the same error.
I have a valid license for application developers, as well as a MonoTouch Student license. I can easily create and run applications on my device through Xcode 3.2.
Any ideas on what causes this problem and how to solve it?
Chris