MonoTouch upload to iOS device problem

Whenever I try uploading to a device from MonoTouch, I get the following console output and 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 numerous projects, some of which are examples directly from the WROX and MonoTouch websites. All run flawlessly in the simulator, and compile perfectly. However, when I try to upload or run them on my device I always get that same error.

I have a valid App Developer license loaded, as well as a MonoTouch Student license. I am able to create and run applications on my device through Xcode 3.2 without any problems.

Any ideas on what is causing this problem ,and how to solve it?

5
задан Mat 14 April 2011 в 20:10
поделиться