Problems with the compilation in ios, Xcode Version 9.4.1 (9F2000)


#1
W0712 14:20:19.847674       1 commandlineflags.cc:1503] Ignoring RegisterValidateFunction() for flag pointer 0x102f54dc0: no flag found at that address
2018-07-12 14:20:20.213678-0600 Carbox Drive[7731:174727] Called init with app ID: (null)
2018-07-12 14:20:20.236776-0600 Carbox Drive[7731:174727] Apache Cordova native platform version 4.5.3 is starting.
2018-07-12 14:20:20.237102-0600 Carbox Drive[7731:174727] Multi-tasking -> Device: YES, App: YES
2018-07-12 14:20:20.276033-0600 Carbox Drive[7731:174727] CDVWKWebViewEngine: trying to inject XHR polyfill
2018-07-12 14:20:20.432174-0600 Carbox Drive[7731:174727] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<WKWebViewConfiguration 0x7fe7f2c06050> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key _requiresUserActionForMediaPlayback.'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010a0941e6 __exceptionPreprocess + 294
	1   libobjc.A.dylib                     0x0000000108f95031 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010a0940b9 -[NSException raise] + 9
	3   Foundation                          0x00000001089b6b47 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 292
	4   Carbox Drive                        0x0000000102575476 __43+[APPBackgroundMode swizzleWKWebViewEngine]_block_invoke + 358
	5   Carbox Drive                        0x0000000102623707 -[CDVWKWebViewEngine pluginInitialize] + 983
	6   Carbox Drive                        0x000000010279b6eb -[CDVViewController registerPlugin:withClassName:] + 315
	7   Carbox Drive                        0x000000010279adfc -[CDVViewController newCordovaViewWithFrame:] + 1404
	8   Carbox Drive                        0x000000010279b302 -[CDVViewController createGapView] + 354
	9   Carbox Drive                        0x0000000102798856 -[CDVViewController viewDidLoad] + 566
	10  Carbox Drive                        0x0000000102570946 -[MainViewController viewDidLoad] + 54
	11  UIKit                               0x00000001039c1131 -[UIViewController loadViewIfRequired] + 1215
	12  UIKit                               0x00000001039c1574 -[UIViewController view] + 27
	13  UIKit                               0x000000010388f123 -[UIWindow addRootViewControllerViewIfPossible] + 122
	14  UIKit                               0x000000010388f834 -[UIWindow _setHidden:forced:] + 294
	15  UIKit                               0x00000001038a25cc -[UIWindow makeKeyAndVisible] + 42
	16  Carbox Drive                        0x000000010279d148 -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 776
	17  Carbox Drive                        0x00000001025706c7 -[AppDelegate application:didFinishLaunchingWithOptions:] + 199
	18  Carbox Drive                        0x0000000102759091 -[UIApplication(OneSignalCordovaPush) oneSignalApplication:didFinishLaunchingWithOptions:] + 177
	19  UIKit                               0x00000001038146fb -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 278
	20  UIKit                               0x0000000103816172 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4123
	21  UIKit                               0x000000010381b5cb -[UIApplication _runWithMainScene:transitionContext:completion:] + 1677
	22  UIKit                               0x0000000103bddf7e __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
	23  UIKit                               0x0000000103fb0a39 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
	24  UIKit                               0x0000000103bddbba -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236
	25  UIKit                               0x0000000103bde3db -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 675
	26  UIKit                               0x000000010454f614 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 299
	27  UIKit                               0x000000010454f4ae -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 433
	28  UIKit                               0x000000010423375d __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 221
	29  UIKit                               0x000000010442e4b7 _performActionsWithDelayForTransitionContext + 100
	30  UIKit                               0x0000000104233627 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 223
	31  UIKit                               0x0000000103fb00e0 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
	32  UIKit                               0x0000000103819eac -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
	33  UIKit                               0x0000000103decbcb -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
	34  FrontBoardServices                  0x000000010c44a2f3 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 331
	35  FrontBoardServices                  0x000000010c452cfa __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 225
	36  libdispatch.dylib                   0x000000010b3f07ec _dispatch_client_callout + 8
	37  libdispatch.dylib                   0x000000010b3f5db8 _dispatch_block_invoke_direct + 592
	38  FrontBoardServices                  0x000000010c47e470 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
	39  FrontBoardServices                  0x000000010c47e12e -[FBSSerialQueue _performNext] + 439
	40  FrontBoardServices                  0x000000010c47e68e -[FBSSerialQueue _performNextFromRunLoopSource] + 45
	41  CoreFoundation                      0x000000010a036bb1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	42  CoreFoundation                      0x000000010a01b4af __CFRunLoopDoSources0 + 271
	43  CoreFoundation                      0x000000010a01aa6f __CFRunLoopRun + 1263
	44  CoreFoundation                      0x000000010a01a30b CFRunLoopRunSpecific + 635
	45  GraphicsServices                    0x000000010c8c7a73 GSEventRunModal + 62
	46  UIKit                               0x000000010381d057 UIApplicationMain + 159
	47  Carbox Drive                        0x00000001025705e1 main + 65
	48  libdyld.dylib                       0x000000010b46d955 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 

I have already added the .plist and nothing I have closed and opened several times the deleted xcode and added the platform several times and nothing.
Has someone happened to you?


#2

I guess you aren’t using cordova-background-mode plugin, because if you were, you would have thrown this part of the message into Google and found this discussion.


#3

Thanks rapropos as always in all.
Your reference to that answer worked like a charm