Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Failing call PresentViewController for YSKSpeechRecognitionViewController #1

Open
wcoder opened this issue Nov 26, 2017 · 0 comments
Assignees

Comments

@wcoder
Copy link
Owner

wcoder commented Nov 26, 2017

When call PresentViewController method for YSKSpeechRecognitionViewController, app crashed with NSInternalInconsistencyException Objective-C exception:

Could not load NIB in bundle YSKSpeechRecognitionViewController

Details:

Foundation.MonoTouchException: Objective-C exception thrown.  Name: Reason: Could not load NIB in bundle: 'NSBundle </Users/yauhenipakala/Library/Developer/CoreSimulator/Devices/B5D068A4-FDFD-4378-B587-547B2268907A/data/Containers/Bundle/Application/0150F613-FED7-429B-ACC0-963D289FB534/YaSpeechKitApp.iOS.app> (loaded)' with name 'YSKSpeechRecognitionViewController'
Native stack trace:
	0   CoreFoundation                      0x000000011d7411ab __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x000000011e521f41 objc_exception_throw + 48
	2   CoreFoundation                      0x000000011d7b5cb5 +[NSException raise:format:] + 197
	3   UIKit                               0x00000001114df11c -[UINib instantiateWithOwner:options:] + 501
	4   UIKit                               0x00000001111f8838 -[UIViewController _loadViewFromNibNamed:bundle:] + 383
	5   UIKit                               0x00000001111f9164 -[UIViewController loadView] + 177
	6   UIKit                               0x00000001111f9495 -[UIViewController loadViewIfRequired] + 195
	7   UIKit                               0x00000001111f9cf2 -[UIViewController view] + 27
	8   UIKit                               0x0000000111c893a9 -[_UIFullscreenPresentationController _setPresentedViewController:] + 89
	9   UIKit                               0x00000001111c7ba7 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 133
	10  UIKit                               0x000000011120cf6a -[UIViewController _presentViewController:withAnimationController:completion:] + 3808
	11  UIKit                               0x000000011120fdad __63-[UIViewController _presentViewController:animated:completion:]_block_invoke + 99
	12  UIKit                               0x000000011121047d -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 532
	13  UIKit                               0x000000011120fd0c -[UIViewController _presentViewController:animated:completion:] + 181
	14  UIKit                               0x000000011121006b -[UIViewController presentViewController:animated:completion:] + 159
	15  YaSpeechKitApp.iOS                  0x000000010e4a152c xamarin_dyn_objc_msgSendSuper + 220
	16  ???                                 0x000000013cb123cb 0x0 + 5313209291

  at ObjCRuntime.Runtime.ThrowNSException (System.IntPtr ns_exception) [0x00000] in /Users/builder/data/lanes/5520/51128b8c/source/xamarin-macios/src/ObjCRuntime/Runtime.cs:332
  at ObjCRuntime.Runtime.throw_ns_exception (System.IntPtr exc) [0x00000] in /Users/builder/data/lanes/5520/51128b8c/source/xamarin-macios/runtime/Delegates.generated.cs:126
  at at (wrapper native-to-managed) ObjCRuntime.Runtime:throw_ns_exception (intptr)
  at at (wrapper managed-to-native) ObjCRuntime.Messaging:void_objc_msgSendSuper_IntPtr_bool_IntPtr (intptr,intptr,intptr,bool,intptr)
  at UIKit.UIViewController.PresentViewController (UIKit.UIViewController viewControllerToPresent, System.Boolean animated, System.Action completionHandler) [0x0006e] in /Users/builder/data/lanes/5520/51128b8c/source/xamarin-macios/src/build/ios/native/UIKit/UIViewController.g.cs:795
  at YaSpeechKitApp.iOS.ViewController.ShowSpeechRecognisionGUI () [0x00027] in /Users/yauhenipakala/Projects/YandexSpeechKitXamarin/samples/YaSpeechKitApp.iOS/ViewController.cs:61
  at YaSpeechKitApp.iOS.ViewController.OnStartRecognizer (UIKit.UIButton sender) [0x00001] in /Users/yauhenipakala/Projects/YandexSpeechKitXamarin/samples/YaSpeechKitApp.iOS/ViewController.cs:30
  at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/5520/51128b8c/source/xamarin-macios/src/UIKit/UIApplication.cs:79
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/5520/51128b8c/source/xamarin-macios/src/UIKit/UIApplication.cs:63
  at YaSpeechKitApp.iOS.Application.Main (System.String[] args) [0x00001] in /Users/yauhenipakala/Projects/YandexSpeechKitXamarin/samples/YaSpeechKitApp.iOS/Main.cs:12
@wcoder wcoder self-assigned this Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant