Not sure if this is an iOnic or Cordova issue. Nevertheless I am experiencing major issues with all our ionic apps since last week.
- Create a new app’ionic start myapp’
2. add ios and android platforms
3. build ios
4. open the ios platform project file in XCode 7
5. In Xcode set the following items:
Deployment target = 8.3
Main interface = MainViewController
Device orientation: Portrait, upsoide down, landscape left, landscape right
hide status bar
requires full screen
Compile the project in xcode and run on ipad2 simulator (or any other if you like)
Upon start in the simulator the app crashes immediately with the following stack trace:
2015-10-16 10:57:30.643 FiREPROOF[7848:53024] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/vanderhorst/Library/Developer/CoreSimulator/Devices/13C17CFB-B38C-45A4-9C2F-85B6207C3D49/data/Containers/Data/Application/5387805D-150B-4892-B308-C51089ADA4F2/Library/Cookies/com.actopus.fpproductsolutions.binarycookies
2015-10-16 10:57:31.030 FiREPROOF[7848:53024] *** Terminating app due to uncaught exception ‘NSUnknownKeyException’, reason: ‘[<UIApplication 0x78e49060> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.’
*** First throw call stack:
(
0 CoreFoundation 0x0024ca94 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x02594e02 objc_exception_throw + 50
2 CoreFoundation 0x0024c6b1 -[NSException raise] + 17
3 Foundation 0x0222a87c -[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:] + 282
4 Foundation 0x02184e4a _NSSetUsingKeyValueSetter + 115
5 Foundation 0x02184dcf -[NSObject(NSKeyValueCoding) setValue:forKey:] + 295
6 Foundation 0x021b95fd -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 384
7 UIKit 0x009f3056 -[UIRuntimeOutletConnection connect] + 132
8 libobjc.A.dylib 0x025a900c -[NSObject performSelector:] + 62
9 CoreFoundation 0x0017d6d1 -[NSArray makeObjectsPerformSelector:] + 273
10 UIKit 0x009f16f0 -[UINib instantiateWithOwner:options:] + 2102
11 UIKit 0x009f3dc9 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 247
12 UIKit 0x005db531 -[UIApplication _loadMainNibFileNamed:bundle:] + 72
13 UIKit 0x005db964 -[UIApplication _loadMainInterfaceFile] + 292
14 UIKit 0x005d9d35 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1575
15 UIKit 0x005fd905 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke3171 + 68
16 UIKit 0x005d6bae -[UIApplication workspaceDidEndTransaction:] + 163
17 FrontBoardServices 0x032efccc __37-[FBSWorkspace clientEndTransaction:]_block_invoke_2 + 71
18 FrontBoardServices 0x032ef7a3 __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 54
19 FrontBoardServices 0x0330d1cb -[FBSSerialQueue _performNext] + 184
20 FrontBoardServices 0x0330d602 -[FBSSerialQueue _performNextFromRunLoopSource] + 52
21 FrontBoardServices 0x0330c8fe FBSSerialQueueRunLoopSourceHandler + 33
22 CoreFoundation 0x00166e7f CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 15
23 CoreFoundation 0x0015cb0b __CFRunLoopDoSources0 + 523
24 CoreFoundation 0x0015bf28 __CFRunLoopRun + 1032
25 CoreFoundation 0x0015b866 CFRunLoopRunSpecific + 470
26 CoreFoundation 0x0015b67b CFRunLoopRunInMode + 123
27 UIKit 0x005d6497 -[UIApplication _run] + 540
28 UIKit 0x005dbcc1 UIApplicationMain + 160
29 FiREPROOF 0x0001e809 main + 89
30 libdyld.dylib 0x02e29a21 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
What is happening? It seems to be an error from within the framework
NO additional plugins were installed!