How To Cook Xamarin Exception: Foundation.Monotouchexception

 Xamarin exception: Foundation.MonoTouchException


Some of the iOS/Android developers spell trying to prepare app amongst Xamarin are facing upshot amongst running app on the simulator. As before long equally you lot volition compile in addition to run the app, it volition charge uncovering on the simulator but when you lot volition utilization closed to activeness on the app, the programme crashes Main.cs file. Infect the upshot is in addition to thus mutual that for many developers the upshot appeared correct away amongst get-go sample assay out app evolution of Xamarin WebSite. 
Xamarin volition throw an exception “Foundation.MonoTouchException” amongst below details.

xamarin crash stack


Failed at UIApplication.Main (args, null, "AppDelegate"); amongst the next mistake message "an unhandled exception has occurred”.

Full Stack of the xamarin app is :

Objective-C exception thrown.  Name: NSInvalidArgumentException Reason: -[ViewController TranslateButton_TouchUpInside:]: unrecognized selector sent to representative 0x7fda24d13a20
Native stack trace:
0   CoreFoundation                      0x000000010eac229b __exceptionPreprocess + 331
1   libobjc.A.dylib                     0x000000011b29d735 objc_exception_throw + 48
2   CoreFoundation                      0x000000010eae0fa4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3   UIKitCore                           0x0000000124616163 -[UIResponder doesNotRecognizeSelector:] + 287
4   CoreFoundation                      0x000000010eac6fb6 ___forwarding___ + 1446
5   CoreFoundation                      0x000000010eac8e88 _CF_forwarding_prep_0 + 120
6   UIKitCore                           0x00000001242307c3 -[UIApplication sendAction:to:from:forEvent:] + 83
7   UIKitCore                           0x0000000124368e85 -[UIControl sendAction:to:forEvent:] + 67
8   UIKitCore                           0x00000001243691a2 -[UIControl _sendActionsForEvents:withEvent:] + 450
9   UIKitCore                           0x00000001243680e6 -[UIControl touchesEnded:withEvent:] + 583
10  UIKitCore                           0x0000000124a43334 -[UIWindow _sendTouchesForEvent:] + 2729
11  UIKitCore                           0x0000000124a44a30 -[UIWindow sendEvent:] + 4080
12  UIKitCore                           0x000000012424ae10 -[UIApplication sendEvent:] + 352
13  UIKitCore                           0x00000001241830d0 __dispatchPreprocessedEventFromEventQueue + 3024
14  UIKitCore                           0x0000000124185cf2 __handleEventQueueInternal + 5948
15  CoreFoundation                      0x000000010ea25b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16  CoreFoundation                      0x000000010ea25464 __CFRunLoopDoSources0 + 436
17  CoreFoundation                      0x000000010ea1fa4f __CFRunLoopRun + 1263
18  CoreFoundation                      0x000000010ea1f221 CFRunLoopRunSpecific + 625
19  GraphicsServices                    0x000000011f31a1dd GSEventRunModal + 62
20  UIKitCore                           0x000000012422f115 UIApplicationMain + 140
21  ???                                 0x000000013fe8ac0e 0x0 + 5367180302
22  ???                                 0x000000013fe8a9a3 0x0 + 5367179683


How to cook this crash :


-> One unproblematic means to cook this crash is to re utilization the Button you lot are pressing on the simulator spell running the app in addition to making a crash.

Simply delete the push clitoris in addition to utilization a novel 1 amongst same property. It volition cook the upshot permanently.

0 Response to "How To Cook Xamarin Exception: Foundation.Monotouchexception"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel