My iOS Simulator crashes when I try to use a UITapGestureRecognizer.

This is my Gesture:

UITapGestureRecognizer tap = new UITapGestureRecognizer (new NSAction(delegate {
  if(SettingsTapped != null){
     SettingsTapped(this, EventArgs.Empty);
  }
}));

I am adding this Gesture to a UIView and then add this view to a UITableViewCell. The App crashes after touching the View (every time), showing no Exception.

Her is a Output from the Simulator Log File:

Nov  4 10:49:47 administorsmini xXxXx[11073]: assertion failed: 13E28 12B411: libsystem_sim_trace.dylib + 19982 [BEE53863-0DEC-33B1-BFFB-8F7AE595CC73]: 0x4
Nov  4 10:49:49 administorsmini xXxXx[11073]: Stacktrace:
Nov  4 10:49:49 administorsmini xXxXx[11073]:   at <unknown> <0xffffffff>
Nov  4 10:49:49 administorsmini xXxXx[11073]:   at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x000a6, 0xffffffff>
Nov  4 10:49:49 administorsmini xXxXx[11073]:   at MonoTouch.UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62
Nov  4 10:49:49 administorsmini xXxXx[11073]:   at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:46
Nov  4 10:49:49 administorsmini xXxXx[11073]:   at xXxXx.Application.Main (string[]) [0x00008] in /Users/Norman/Desktop/xXxXx/xXxXx/Main.cs:17
Nov  4 10:49:49 administorsmini xXxXx[11073]:   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
Nov  4 10:49:49 administorsmini xXxXx[11073]: 
Native stacktrace:
Nov  4 10:49:49 administorsmini xXxXx[11073]: 
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
Nov  4 10:49:49 administorsmini com.apple.CoreSimulator.SimDevice.27B5D497-B641-4BCA-8FA0-EF9E28E07143.launchd_sim[10951] (UIKitApplication:com.your-company.xXxXx[0x7041][11073]): Service exited due to signal: Abort trap: 6
Nov  4 10:49:49 administorsmini SpringBoard[10962]: Application 'UIKitApplication:com.your-company.xXxXx[0x7041]' crashed.
Nov  4 10:49:49 administorsmini assertiond[10966]: notify_suspend_pid() failed with error 7
Nov  4 10:49:49 administorsmini assertiond[10966]: assertion failed: 13E28 12B411: assertiond + 11523 [3F572A0B-7E12-378D-AFEE-EA491BAF2C36]: 0x1

What can I do now? I donĀ“t want to Develop on the Device...

Related posts

Recent Viewed