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

NSInvalidArgumentException Crash on iOS (unrecognized selector) #225

Closed
jeffmikels opened this issue Nov 4, 2018 · 6 comments
Closed

NSInvalidArgumentException Crash on iOS (unrecognized selector) #225

jeffmikels opened this issue Nov 4, 2018 · 6 comments

Comments

@jeffmikels
Copy link
Contributor

Download the repo... build the example for ios... execute flutter run... tap the first button:

-[FlutterEngine view]: unrecognized selector sent to instance 0x16635a80
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FlutterEngine view]: unrecognized selector sent to instance 0x16635a80'
	*** First throw call stack:
	(0x2487391b 0x2400ee17 0x248792b5 0x24876ee1 0x247a2238 0x15e1941 0x15e095f 0x18d9a1 0x1aa2c7 0x1ad6b3 0x1eb0e7 0x1b626d 0x1b8743 0x2483658f 0x248361c1 0x2483400d 0x24783229 0x24783015 0x25d73ac9 0x28e57189 0x7160f 0x2442b873)
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.10.3-pre.89, on Mac OS X 10.12.6 16G29, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.28.2)
[✓] Connected device (2 available)

• No issues found!
@jordansilva
Copy link
Contributor

I'm also facing the same problem.

** First throw call stack:
(
	0   CoreFoundation                      0x000000010ecc91bb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x000000010e267735 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010ece7f44 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
	3   CoreFoundation                      0x000000010eccded6 ___forwarding___ + 1446
	4   CoreFoundation                      0x000000010eccfda8 _CF_forwarding_prep_0 + 120
	5   flutter_webview_plugin              0x000000010dc01fe0 -[FlutterWebviewPlugin initWebview:] + 2832
	6   flutter_webview_plugin              0x000000010dc00eae -[FlutterWebviewPlugin handleMethodCall:result:] + 254
	7   Flutter                             0x000000010c38365b __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 115
	8   Flutter  <…>

@bagintz
Copy link

bagintz commented Nov 5, 2018

Same here :-/

@jeffmikels
Copy link
Contributor Author

Solved the problem by switching Flutter back to the beta channel.

@abdelrahman-salah
Copy link

@jeffmikels didn't work for me :/

@jeffmikels
Copy link
Contributor Author

jeffmikels commented Dec 28, 2018

@abdelrahman-salah

@jeffmikels didn't work for me :/

This thread has been closed. If you are having problems, you should open a new thread and report your issues in detail. Flutter has advanced a great deal in the past month, but this repo hasn't seen an update in over a month. The likelihood of your issue being the same as mine is pretty slim.

@naval41
Copy link

naval41 commented Mar 31, 2019

Test it with v0.3.0+2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants