Hi,

I have a couple of questions I'd really appreciate help with.  I tried MT
briefly with the simulator and decided to buy it along with joining the dev
program.  My issues are:

a) Programs work on the simulator but immediately crash on run when deployed
to my (latest model running 5.1) iPad.  This is before doing anything!  Eg
if I create a new ipad 'Utility' solution or 'Single view' application,
change nothing and run it on the simulator, it runs.  I then deploy it to
the device, it installs but crashes.  Naming the app etc doesn't help.

b) Doing debugging causes a dialog in MT, which in many cases disappears
after 2-3 seconds before I get to read it.  The error shown is:

MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. 
Name: NSUnknownKeyException Reason: [<UIApplication 0x658ee0>
setValue:forUndefinedKey:]: this class is not key value coding-compliant for
the key view.
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
principalClassName, System.String delegateClassName) [0x00042] in
/Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29
  at Utility.Application.Main (System.String[] args) [0x00000] in
/Users/Mark/Projects/Utility/Utility/Main.cs:17

Line 17 in main.cs is:
UIApplication.Main (args, null, "AppDelegate");
The 'usings' etc are all present (this is the MT iPad 'Utility' solution
unmodified)

Why would an empty (but functional) app crash like this?  Why does my error
disappear?  Is the trace written to a file?

Thanks for your help guys, really appreciate it.

Mark

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Newbie-Pls-give-a-hand-tp4655110.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to