: -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x12cf465d0
Ionic2 app
App debug version ipa runs fine on IOS (ionic run ios), runs fine on Android, but release version (archived, upload appstore version) crashes on startup.
Log fragment of working debug version:
Sep 10 15:36:27 iPhone-6-van-Majodi BlissBlog[1183] : Apache Cordova native platform version 4.1.1 is starting.
Sep 10 15:36:27 iPhone-6-van-Majodi BlissBlog[1183] : Multi-tasking -> Device: YES, App: YES
Sep 10 15:36:27 iPhone-6-van-Majodi BlissBlog[1183] : Using UIWebView
Log fragment of crashing release version:
Sep 10 20:07:02 iPhone-6-van-Majodi BlissBlog[1274] : Apache Cordova native platform version 4.1.1 is starting.
Sep 10 20:07:02 iPhone-6-van-Majodi BlissBlog[1274] : Multi-tasking -> Device: YES, App: YES
Sep 10 20:07:02 iPhone-6-van-Majodi BlissBlog[1274] : -[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x12cf465d0
Sep 10 20:07:02 iPhone-6-van-Majodi BlissBlog[1274] : *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[__NSDictionaryM cordovaSettingForKey:]: unrecognized selector sent to instance 0x12cf465d0’
*** First throw call stack:
(0x180c1edb0 0x180283f80 0x180c25c4c 0x180c22bec 0x180b20c5c 0x100051f04 0x10002050c 0x185d80c40 0x185d80844 0x185d8759c 0x185d84a88 0x185dfafa4 0x10005427c 0x1000203a4 0x10003e940 0x185df69c0 0x186026184 0x18602a5f0 0x186027764 0x1825bf7ac 0x1825bf618 0x1825bf9c8 0x180bd509c 0x180bd4b30 0x180bd2830 0x180afcc50 0x185def94c 0x185dea088 0x1000202dc 0x18069a8b8)
The first release of this app did/does run fine on IOS also. An update has this problem. I removed some plugins from the update to bring the config.xml in root and in platforms/ios/app back in the same state as the original first release that is/was working but that didn’t help
How to find the cause of this?? I now can not update the app on the IOS app store.
Thnx