Hi Guys,
I’m using ionic 2 and built app with very limited plugins – (in fact, I have removed many to drill down the issue but I still could not figure out ). I’m stuck with the following error for more than 3 days surfing all kinds of solutions and resolutions.
I have not made any changes in ios codebase. My android version is perfectly fine…
Issue when emulated via XCode
Console Logs on Xcode.
_2017-02-17 13:09:31.450 app[85062:3497591] Apache Cordova native platform version 4.3.1 is starting.
2017-02-17 13:09:31.450 app[85062:3497591] Multi-tasking -> Device: YES, App: YES
2017-02-17 13:09:31.454 app[85062:3497591] -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x6080000481f0
2017-02-17 13:09:31.465 app[85062:3497591] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[__NSDictionaryM cordovaSettingForKey:]: app selector sent to instance 0x6080000481f0’
*** First throw call stack:
(
0 CoreFoundation 0x0000000109f4534b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00000001099a621e objc_exception_throw + 48
2 CoreFoundation 0x0000000109fb4f34 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x0000000109ecac15 forwarding + 1013
4 CoreFoundation 0x0000000109eca798 _CF_forwarding_prep_0 + 120
5 app 0x0000000105693473 -[CDVViewController viewDidLoad] + 195
6 app 0x000000010553c7c6 -[MainViewController viewDidLoad] + 54
7 UIKit 0x0000000107364c99 -[UIViewController loadViewIfRequired] + 1258
8 UIKit 0x00000001073650cc -[UIViewController view] + 27
9 UIKit 0x000000010722ec51 -[UIWindow addRootViewControllerViewIfPossible] + 71
10 UIKit 0x000000010722f3a2 -[UIWindow _setHidden:forced:] + 293
11 UIKit 0x0000000107242cb5 -[UIWindow makeKeyAndVisible] + 42
12 app 0x00000001056971e8 -[CDVAppDelegate application:didFinishLaunchingWithOptions:] + 776
13 app 0x000000010553c547 -[AppDelegate application:didFinishLaunchingWithOptions:] + 199
14 UIKit 0x00000001071ba0be -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 290
15 UIKit 0x00000001071bba43 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 4236
16 UIKit 0x00000001071c1de9 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1731
17 UIKit 0x00000001071bef69 -[UIApplication workspaceDidEndTransaction:] + 188
18 FrontBoardServices 0x000000010de89723 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 24
19 FrontBoardServices 0x000000010de8959c -[FBSSerialQueue _performNext] + 189
20 FrontBoardServices 0x000000010de89925 -[FBSSerialQueue _performNextFromRunLoopSource] + 45
21 CoreFoundation 0x0000000109eea311 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
22 CoreFoundation 0x0000000109ecf59c __CFRunLoopDoSources0 + 556
23 CoreFoundation 0x0000000109ecea86 __CFRunLoopRun + 918
24 CoreFoundation 0x0000000109ece494 CFRunLoopRunSpecific + 420
25 UIKit 0x00000001071bd7e6 -[UIApplication _run] + 434
26 UIKit 0x00000001071c3964 UIApplicationMain + 159
27 app 0x000000010553c461 main + 65
28 libdyld.dylib 0x000000010b3e068d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I have tried
and few others on stackoverflow but nothing works.
My system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v7.2.0
Xcode version: Xcode 8.1 Build version 8B62
Plugins in my config.xml
cordova-plugin-device" spec="~1.1.4"
plugin name=“cordova-plugin-console” spec="~1.0.5"
plugin name=“cordova-plugin-whitelist” spec="~1.3.1"
plugin name=“ionic-plugin-keyboard” spec="~2.2.1"
e ngine name=“android” spec="~6.0.0" />
plugin name=“cordova-sqlite-storage” spec="~2.0.2"
plugin name=“cordova-plugin-geolocation” spec="~2.4.1"
plugin name=“cordova-plugin-inappbrowser” spec="~1.6.1"
plugin name=“cordova-plugin-request-location-accuracy” spec="~2.2.0"
plugin name=“cordova-plugin-statusbar” spec="~2.2.1"
plugin name=“cordova-plugin-dialogs” spec="~1.3.1"
plugin name=“cordova-plugin-nativestorage” spec="~2.2.1"
plugin name=“cordova-plugin-splashscreen” spec="~4.0.1"
plugin name=“cordova-plugin-network-information” spec="~1.3.1"
plugin name=“cordova-plugin-googleplus” spec="~5.1.1"
plugin name=“phonegap-plugin-push” spec="~1.8.4"