TykanN / kpostal

Kpostal package can search for Korean postal addresses using Kakao postcode service.
MIT License
11 stars 15 forks source link

iOS 에서 Duplicate plugin key: InAppWebViewFlutterPlugin 이슈 #13

Closed XOneto9 closed 2 years ago

XOneto9 commented 2 years ago

안녕하세요. 제가 찾고, 원했던 모듈이라 사용하려고 합니다.. 그런데 제가 flutter 에서 quill 모듈을 같이 사용하고 있는데, Duplicate plugin key: InAppWebViewFlutterPlugin 라는 메시지가 뜨면서 app이 terminating이 되어 종료됩니다.

flutter_quill와 kpostal 둘 중에 하나를 제거하면 작동을 잘합니다. 결론은 일단 InAppWebViewFlutterPlugin를 동이랗게 사용하며 key 중복으로 인해 에러가 나는 것 같은데요, 혹시 해결 방법이 있을까요?

Error message

(lldb) objc[817]: Class InAppWebViewFlutterPlugin is implemented in both /private/var/containers/Bundle/Application/A5C7AE5B-BB80-4755-A25F-7DB1F6334F4E/Runner.app/Frameworks/flutter_inappwebview_quill.framework/flutter_inappwebview_quill (0x102581ae0) and /private/var/containers/Bundle/Application/A5C7AE5B-BB80-4755-A25F-7DB1F6334F4E/Runner.app/Frameworks/flutter_inappwebview.framework/flutter_inappwebview (0x101f0dae0). One of the two will be used. Which one is undefined.
*** Assertion failure in -[FlutterEngine registrarForPlugin:], FlutterEngine.mm:1083
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Duplicate plugin key: InAppWebViewFlutterPlugin'
*** First throw call stack:
(0x19f80d288 0x1b8507744 0x1a109a360 0x10a9473b4 0x100fbe0c8 0x100fbe8bc 0x100fbeb8c 0x1a1f1372c 0x1a20fa564 0x1a20e3118 0x1a1f40d34 0x1a1d9b3b4 0x1a1ec5d90 0x1a1fe5aa0 0x1a2224764 0x1a21afd14 0x1a1d9c1a0 0x1a1e5c0d8 0x1a1d9e0a4 0x1a1e88244 0x1a230ce60 0x1a1dcc484 0x1a1e0fcc4 0x1a1f45b38 0x1a1e86508 0x1b1a17294 0x1b1a3d090 0x1b19f8308 0x1b19f9958 0x19f474a30 0x19f4784e0 0x1b19f9c70 0x1b19f9040 0x1b19fd700 0x19f82f414 0x19f8401a0 0x19f779694 0x19f77f05c 0x19f792bc8 0x1bb8c6374 0x1a2102648 0x1a1e83d90 0x100fbed80 0x1010adce4)
libc++abi: terminating with uncaught exception of type NSException
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001d73a2b38 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
TykanN commented 2 years ago

안녕하세요.

의존성 문제는 flutter_quill 패키지의 문제로 보입니다. https://github.com/singerdmx/flutter-quill/issues/897

flutter_quill 패키지가 이슈를 해결하지 않는 한, 포크하여 직접 해결해야합니다.