Ionic3 error after ibeacon plugin add. Help please


#1

Ionic -v 3.16.0
cordova -v 7.1.0

Hello.
I have been wandering for a week.
Ask for help
When I do ‘ionic cordova plugin add cordova-plugin-ibeacon’, the app exits immediately after splash screen.
It is normal in android, but only in IOS…

The message for xcode is:
2017-11-06 11:39:52.923489+0900 MyApp[8758:140299] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/twowinscom/Library/Developer/CoreSimulator/Devices/073BAF36-3BCF-4F0F-81A9-5DEF48A0254B/data/Containers/Data/Application/6F2DC507-7858-41CA-BFC2-B6C2554DF7EE/Library/Cookies/io.ionic.starter.binarycookies
2017-11-06 11:39:52.975566+0900 MyApp[8758:140299] Apache Cordova native platform version 4.5.3 is starting.
2017-11-06 11:39:52.976163+0900 MyApp[8758:140299] Multi-tasking -> Device: YES, App: YES
2017-11-06 11:39:52.989200+0900 MyApp[8758:140299] CDVWKWebViewEngine: trying to inject XHR polyfill
2017-11-06 11:39:53.079208+0900 MyApp[8758:140299] [MC] Lazy loading NSBundle MobileCoreServices.framework
2017-11-06 11:39:53.080398+0900 MyApp[8758:140299] [MC] Loaded MobileCoreServices.framework
2017-11-06 11:39:53.082119+0900 MyApp[8758:140299] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/twowinscom/Library/Developer/CoreSimulator/Devices/073BAF36-3BCF-4F0F-81A9-5DEF48A0254B/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-11-06 11:39:53.091585+0900 MyApp[8758:140299] CDVWKWebViewEngine will reload WKWebView if required on resume
2017-11-06 11:39:53.091736+0900 MyApp[8758:140299] Using Ionic WKWebView
2017-11-06 11:39:53.092588+0900 MyApp[8758:140299] [CDVTimer][console] 0.362992ms
2017-11-06 11:39:53.092883+0900 MyApp[8758:140299] [CDVTimer][handleopenurl] 0.135005ms
2017-11-06 11:39:53.095800+0900 MyApp[8758:140299] [CDVTimer][intentandnavigationfilter] 2.602994ms
2017-11-06 11:39:53.096052+0900 MyApp[8758:140299] [CDVTimer][gesturehandler] 0.085950ms
2017-11-06 11:39:53.146862+0900 MyApp[8758:140299] [CDVTimer][splashscreen] 50.682008ms
2017-11-06 11:39:53.148814+0900 MyApp[8758:140299] [CDVTimer][keyboard] 1.623988ms
2017-11-06 11:39:53.149060+0900 MyApp[8758:140299] [CDVTimer][TotalPluginStartup] 56.865990ms
2017-11-06 11:39:55.760774+0900 MyApp[8758:140299] *** Assertion failure in -[CLLocationManager setAllowsBackgroundLocationUpdates:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/CoreLocationFramework_Sim/CoreLocation-2236.0.11/Framework/CoreLocation/CLLocationManager.m:626
2017-11-06 11:39:55.775122+0900 MyApp[8758:140299] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)’
*** First throw call stack:
(
0 CoreFoundation 0x000000010a8831ab __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001093d0f41 objc_exception_throw + 48
2 CoreFoundation 0x000000010a888372 +[NSException raise:format:arguments:] + 98
3 Foundation 0x0000000108e75089 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
4 CoreLocation 0x0000000108d11b67 CLClientRetrieveData + 28048
5 MyApp 0x00000001081655d6 -[CDVLocationManager initLocationManager] + 342
6 MyApp 0x0000000108165401 -[CDVLocationManager pluginInitialize] + 97
7 MyApp 0x0000000108177e8b -[CDVViewController registerPlugin:withClassName:] + 315
8 MyApp 0x000000010817827a -[CDVViewController getCommandInstance:] + 410
9 MyApp 0x000000010817c8d4 -[CDVCommandDelegateImpl getCommandInstance:] + 100
10 MyApp 0x0000000108186015 -[CDVCommandQueue execute:] + 341
11 MyApp 0x000000010813b9da -[CDVWKWebViewEngine handleCordovaMessage:] + 202
12 MyApp 0x000000010813b857 -[CDVWKWebViewEngine userContentController:didReceiveScriptMessage:] + 183
13 MyApp 0x000000010813d3bc -[CDVWKWeakScriptMessageHandler userContentController:didReceiveScriptMessage:] + 124
14 WebKit 0x00000001087bdbfa _ZN28ScriptMessageHandlerDelegate14didPostMessageERN6WebKit12WebPageProxyERKNS0_13FrameInfoDataERN7WebCore21SerializedScriptValueE + 190
15 WebKit 0x000000010875466d _ZN6WebKit29WebUserContentControllerProxy14didPostMessageERN3IPC10ConnectionEyRKNS_13FrameInfoDataEyRKNS1_13DataReferenceE + 193
16 WebKit 0x0000000108756735 ZN3IPC13handleMessageIN8Messages29WebUserContentControllerProxy14DidPostMessageEN6WebKit29WebUserContentControllerProxyEMS5_FvRNS_10ConnectionEyRKNS4_13FrameInfoDataEyRKNS_13DataReferenceEEEEvS7_RNS_7DecoderEPT0_T1 + 227
17 WebKit 0x000000010854e36f _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE + 127
18 WebKit 0x0000000108720996 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE + 24
19 WebKit 0x00000001085112a3 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 119
20 WebKit 0x0000000108513b16 _ZN3IPC10Connection18dispatchOneMessageEv + 176
21 JavaScriptCore 0x000000010f4f02c9 _ZN3WTF7RunLoop11performWorkEv + 169
22 JavaScriptCore 0x000000010f4f0582 _ZN3WTF7RunLoop11performWorkEPv + 34
23 CoreFoundation 0x000000010a826231 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
24 CoreFoundation 0x000000010a8c5e41 __CFRunLoopDoSource0 + 81
25 CoreFoundation 0x000000010a80ab49 __CFRunLoopDoSources0 + 185
26 CoreFoundation 0x000000010a80a12f __CFRunLoopRun + 1279
27 CoreFoundation 0x000000010a8099b9 CFRunLoopRunSpecific + 409
28 GraphicsServices 0x000000010de9c9c6 GSEventRunModal + 62
29 UIKit 0x000000010b6485e8 UIApplicationMain + 159
30 MyApp 0x0000000108137321 main + 65
31 libdyld.dylib 0x0000000110329d81 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

If you have a solution, ask for help.
Thank you in advance.