IONIC FRAMEWORK Build Xcode Error :( - xcode

I can not find answer to my concerns.
Since yesterday I am unable to compile my code ionic / cordova in xcode I get an error that I can not understand and solve malgrès my extensive research.
If a person with an idea I'm interested.
Thank you, Aurélien
2015-06-10 09:00:29.155 DansMonFrigoApp[10534:1159787] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'ERROR: config.xml does not exist. Please run cordova-ios/bin/cordova_plist_to_config_xml path/to/project.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000108844c65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010c396bb7 objc_exception_throw + 45
2 CoreFoundation 0x0000000108844aca +[NSException raise:format:arguments:] + 106
3 Foundation 0x000000010b84498f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 DansMonFrigoApp 0x0000000108309b0c -[CDVViewController loadSettings] + 428
5 DansMonFrigoApp 0x00000001083091eb -[CDVViewController __init] + 1131
6 DansMonFrigoApp 0x00000001083092a2 -[CDVViewController initWithNibName:bundle:] + 162
7 DansMonFrigoApp 0x0000000108271bb9 -[MainViewController initWithNibName:bundle:] + 121
8 DansMonFrigoApp 0x00000001083093fe -[CDVViewController init] + 62
9 DansMonFrigoApp 0x0000000108271c6e -[MainViewController init] + 62
10 DansMonFrigoApp 0x0000000108271328 -[AppDelegate application:didFinishLaunchingWithOptions:] + 456
11 UIKit 0x0000000108c38788 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 240
12 UIKit 0x0000000108c39397 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2540
13 UIKit 0x0000000108c3c1de -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349
14 UIKit 0x0000000108c3b0d5 -[UIApplication workspaceDidEndTransaction:] + 179
15 FrontBoardServices 0x000000010d0895e5 __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 21
16 CoreFoundation 0x000000010877841c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
17 CoreFoundation 0x000000010876e165 __CFRunLoopDoBlocks + 341
18 CoreFoundation 0x000000010876df25 __CFRunLoopRun + 2389
19 CoreFoundation 0x000000010876d366 CFRunLoopRunSpecific + 470
20 UIKit 0x0000000108c3ab42 -[UIApplication _run] + 413
21 UIKit 0x0000000108c3d900 UIApplicationMain + 1282
22 DansMonFrigoApp 0x0000000108270fc1 main + 65
23 libdyld.dylib 0x000000010cbbc145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

Related

i did not understand what is this error

2015-06-03 17:16:15.705 PSM-InPatient[10744:799454] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<PSM_InPatient.DocLoginViewController 0x7fbf3bc75990> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key docPassword.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000105b37f35 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010767bbb7 objc_exception_throw + 45
2 CoreFoundation 0x0000000105b37b79 -[NSException raise] + 9
3 Foundation 0x0000000105f4f7b3 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259
4 CoreFoundation 0x0000000105a81e80 -[NSArray makeObjectsPerformSelector:] + 224
5 UIKit 0x0000000106688c7d -[UINib instantiateWithOwner:options:] + 1506
6 UIKit 0x00000001064e7f98 -[UIViewController _loadViewFromNibNamed:bundle:] + 242
7 UIKit 0x00000001064e8588 -[UIViewController loadView] + 109
8 UIKit 0x00000001064e87f9 -[UIViewController loadViewIfRequired] + 75
9 UIKit 0x00000001064e8c8e -[UIViewController view] + 27
10 UIKit 0x0000000106a8a41e -[_UIFullscreenPresentationController _setPresentedViewController:] + 65
11 UIKit 0x00000001064c4429 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 105
12 UIKit 0x00000001064f4a41 -[UIViewController _presentViewController:withAnimationController:completion:] + 1746
13 UIKit 0x00000001064f6d81 __62-[UIViewController presentViewController:animated:completion:]_block_invoke + 132
14 UIKit 0x00000001064f6ca5 -[UIViewController presentViewController:animated:completion:] + 229
15 UIKit 0x00000001063c48be -[UIApplication sendAction:to:from:forEvent:] + 75
16 UIKit 0x00000001064cb410 -[UIControl _sendActionsForEvents:withEvent:] + 467
17 UIKit 0x00000001064ca7df -[UIControl touchesEnded:withEvent:] + 522
18 UIKit 0x000000010640a308 -[UIWindow _sendTouchesForEvent:] + 735
19 UIKit 0x000000010640ac33 -[UIWindow sendEvent:] + 683
20 UIKit 0x00000001063d79b1 -[UIApplication sendEvent:] + 246
21 UIKit 0x00000001063e4a7d _UIApplicationHandleEventFromQueueEvent + 17370
22 UIKit 0x00000001063c0103 _UIApplicationHandleEventQueue + 1961
23 CoreFoundation 0x0000000105a6d551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
24 CoreFoundation 0x0000000105a6341d __CFRunLoopDoSources0 + 269
25 CoreFoundation 0x0000000105a62a54 __CFRunLoopRun + 868
26 CoreFoundation 0x0000000105a62486 CFRunLoopRunSpecific + 470
27 GraphicsServices 0x0000000109c2e9f0 GSEventRunModal + 161
28 UIKit 0x00000001063c3420 UIApplicationMain + 1282
29 PSM-InPatient 0x00000001055a33de top_level_code + 78
30 PSM-InPatient 0x00000001055a341a main + 42
31 libdyld.dylib 0x0000000107e55145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
You have an outlet that doesn't exists anymore. Check the connections inspector for lost connections.
Your error is Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key docPassword.
Usually this means that the .xib file (or storyboard) for your viewController contains an outlet (docPassword in your case) that isn't in your code. You should either add the property in your code or remove the outlet entirely in interface builder.

Weird runtime error with iOS 8 and XCode 6 beta 4

We have a UITableView object in our storyboard that is assigned to a custom class. When I load the view and try to select a row, the application crashes. I've been putting breakpoints up and down my class—the most intuitive one being at didSelectRowAtIndexPath—but all of this is to no avail. App just crashes before I get to any of my breakpoints.
This bug only exists in iOS8. Runs fine in iOS7. Any ideas what is causing this? Below is a log of my console.
CoreData: warning: Property 'year' is a 64 bit scalar type on class 'Term' that does not match its entity's property's 32 bit scalar type. Implicit coercion to 32 bits in the database is not recommended.
2014-08-04 13:45:47.415 Grades[29475:2823481] *** Terminating app due to uncaught exception 'UIViewControllerHierarchyInconsistency', reason: 'child view controller:<UICompatibilityInputViewController: 0x7fb9728ba400> should have parent view controller:<SyllabusDetailViewController: 0x7fb9706a96a0> but requested parent is:<UIInputWindowController: 0x7fb97086fa00>'
*** First throw call stack:
(
0 CoreFoundation 0x0000000108fcfc35 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001088c2a1c objc_exception_throw + 45
2 CoreFoundation 0x0000000108fcfb6d +[NSException raise:format:] + 205
3 UIKit 0x00000001070b348d -[UIViewController _addChildViewController:performHierarchyCheck:notifyWillMove:] + 184
4 UIKit 0x000000010764a4a2 -[UIInputWindowController changeToInputViewSet:] + 435
5 UIKit 0x000000010764b07a __43-[UIInputWindowController setInputViewSet:]_block_invoke + 85
6 UIKit 0x0000000106ffdb9e +[UIView(Animation) performWithoutAnimation:] + 65
7 UIKit 0x000000010764ae4b -[UIInputWindowController setInputViewSet:] + 288
8 UIKit 0x0000000107646e3b -[UIInputWindowController performOperations:withAnimationStyle:] + 50
9 UIKit 0x000000010744214e -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 1054
10 UIKit 0x00000001070ff32d -[UIResponder becomeFirstResponder] + 468
11 UIKit 0x0000000106ff9453 -[UIView(Hierarchy) becomeFirstResponder] + 99
12 UIKit 0x00000001076a4a0f -[UITextField becomeFirstResponder] + 51
13 UIKit 0x000000010733d3d1 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) setFirstResponderIfNecessary] + 177
14 UIKit 0x000000010733f440 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) oneFingerTap:] + 2263
15 UIKit 0x0000000107334b5d _UIGestureRecognizerSendActions + 262
16 UIKit 0x0000000107333134 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 1095
17 UIKit 0x0000000107338556 ___UIGestureRecognizerUpdate_block_invoke690 + 371
18 UIKit 0x0000000107338312 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 254
19 UIKit 0x000000010732d87b _UIGestureRecognizerUpdate + 2858
20 UIKit 0x0000000106fd3b36 -[UIWindow _sendGesturesForEvent:] + 1041
21 UIKit 0x0000000106fd4763 -[UIWindow sendEvent:] + 667
22 UIKit 0x0000000106fa1811 -[UIApplication sendEvent:] + 246
23 UIKit 0x0000000106fae8ae _UIApplicationHandleEventFromQueueEvent + 17707
24 UIKit 0x0000000106f8a009 _UIApplicationHandleEventQueue + 1967
25 CoreFoundation 0x0000000108f057f1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
26 CoreFoundation 0x0000000108efb16d __CFRunLoopDoSources0 + 269
27 CoreFoundation 0x0000000108efa7a4 __CFRunLoopRun + 868
28 CoreFoundation 0x0000000108efa1d6 CFRunLoopRunSpecific + 470
29 GraphicsServices 0x000000010b330a3a GSEventRunModal + 161
30 UIKit 0x0000000106f8d280 UIApplicationMain + 1282
31 Grades 0x0000000106300003 main + 115
32 libdyld.dylib 0x00000001095ea145 start + 1
33 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Okay, fixed the problem. Had some bad CONTRL+drag connections between my Storyboard objects and my IBOutlets. Turned those off and now the problem is gone.

iPad crashes when Simulator doesn't when loading a view

my app crashes on iPad when I open a new view even though in the simulator it works like a charm.
Any help is strongly appreciated!
Thanks in advance
Console Output:
2012-07-18 10:32:19.783 Coverdale[3484:707] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 4 beyond bounds [0 .. 3]'
First throw call stack:
(0x3757688f 0x315eb259 0x374bf9db 0x37745 0x35c3f 0x306e3c8b 0x30708481 0x306ccbd5 0x3078f359 0x306d53b5 0x306d53d1 0x306d5263 0x3078f31f 0x307446cb 0x3074400f 0x3078dc05 0x3078c367 0x307e76a7 0x2c4fb 0x3075c93d 0x307d6627 0x33093933 0x3754aa33 0x3754a699 0x3754926f 0x374cc4a5 0x374cc36d 0x376c5439 0x306d8cd5 0x22103 0x220a8)
terminate called throwing an exception(lldb)
Crash Report
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3757688f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x315eb259 objc_exception_throw + 33
2 CoreFoundation 0x374bf9db -[__NSArrayM objectAtIndex:] + 271
3 Coverdale 0x00092745 -[PreparationViewController setDetails:newFile:] (PreparationViewController.m:376)
4 Coverdale 0x00090c3f -[PreparationViewController viewDidLoad] (PreparationViewController.m:70)
5 UIKit 0x306e3c8b -[UIViewController view] + 167
6 UIKit 0x30708481 -[UIViewController nextResponder] + 21
7 UIKit 0x306ccbd5 -[UIResponder _containsResponder:] + 37
8 UIKit 0x3078f359 -[UINavigationController defaultFirstResponder] + 57
9 UIKit 0x306d53b5 -[UIResponder(Internal) _deepestDefaultFirstResponder] + 25
10 UIKit 0x306d53d1 -[UIResponder(Internal) _deepestDefaultFirstResponder] + 53
11 UIKit 0x306d5263 -[UIResponder(Internal) _promoteDeepestDefaultFirstResponder] + 31
12 UIKit 0x3078f31f -[UIWindowController transitionViewDidStart:] + 83
13 UIKit 0x307446cb -[UITransitionView _didStartTransition] + 71
14 UIKit 0x3074400f -[UITransitionView transition:fromView:toView:] + 999
15 UIKit 0x3078dc05 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:] + 4937
16 UIKit 0x3078c367 -[UIViewController presentViewController:withTransition:completion:] + 3123
17 UIKit 0x307e76a7 -[UIViewController presentModalViewController:animated:] + 31
18 Coverdale 0x000874fb -[IntroTableViewController tableView:didSelectRowAtIndexPath:] (IntroTableViewController.m:498)
19 UIKit 0x3075c93d -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 945
20 UIKit 0x307d6627 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 159
21 Foundation 0x33093933 __NSFireDelayedPerform + 415
22 CoreFoundation 0x3754aa33 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 15
23 CoreFoundation 0x3754a699 __CFRunLoopDoTimer + 365
24 CoreFoundation 0x3754926f __CFRunLoopRun + 1207
25 CoreFoundation 0x374cc4a5 CFRunLoopRunSpecific + 301
26 CoreFoundation 0x374cc36d CFRunLoopRunInMode + 105
27 GraphicsServices 0x376c5439 GSEventRunModal + 137
28 UIKit 0x306d8cd5 UIApplicationMain + 1081
29 Coverdale 0x0007d103 main (main.m:17)
30 Coverdale 0x0007d0a8 start + 40
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3291b32c __pthread_kill + 8
1 libsystem_c.dylib 0x34c90208 pthread_kill + 48
2 libsystem_c.dylib 0x34c89298 abort + 88
3 libc++abi.dylib 0x3229ef64 abort_message + 40
4 libc++abi.dylib 0x3229c346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x315eb350 _objc_terminate + 140
6 libc++abi.dylib 0x3229c3be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x3229c44a std::terminate() + 14
8 libc++abi.dylib 0x3229d81e __cxa_rethrow + 82
9 libobjc.A.dylib 0x315eb2a2 objc_exception_rethrow + 6
10 CoreFoundation 0x374cc506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x374cc366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x376c5432 GSEventRunModal + 130
13 UIKit 0x306d8cce UIApplicationMain + 1074
14 Coverdale 0x0007d0fc main (main.m:17)
15 Coverdale 0x0007d0a0 start + 32
I deleted the App on the iPad and run it again.
It looks like that an array generated from a text file which i am reading out with componentsSeparatedByString: had less entries than i was accessing.

How to fix ios app crashing with certain name?

I have an app called "FirstAid" that crashes in the simulator and on a device. If I create a clean project called "FirstAid" that also crashes with the same report. Any other named app is fine.
I have done a clean, and rebuilt it but it still crashes.
How do I fix it?
2011-05-14 10:06:39.912 FirstAid[1217:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'
*** Call stack at first throw:
(
0 CoreFoundation 0x00ef55a9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x01049313 objc_exception_throw + 44
2 CoreFoundation 0x00ef54e1 -[NSException raise] + 17
3 Foundation 0x008c7677 _NSSetUsingKeyValueSetter + 135
4 Foundation 0x008c75e5 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 285
5 UIKit 0x0034330c -[UIRuntimeOutletConnection connect] + 112
6 CoreFoundation 0x00e6b8cf -[NSArray makeObjectsPerformSelector:] + 239
7 UIKit 0x00341d23 -[UINib instantiateWithOwner:options:] + 1041
8 UIKit 0x00343ab7 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 168
9 UIKit 0x0014917a -[UIApplication _loadMainNibFile] + 172
10 UIKit 0x00149cf4 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 291
11 UIKit 0x00154617 -[UIApplication handleEvent:withNewEvent:] + 1533
12 UIKit 0x0014cabf -[UIApplication sendEvent:] + 71
13 UIKit 0x00151f2e _UIApplicationHandleEvent + 7576
14 GraphicsServices 0x013ce992 PurpleEventCallback + 1550
15 CoreFoundation 0x00ed6944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
16 CoreFoundation 0x00e36cf7 __CFRunLoopDoSource1 + 215
17 CoreFoundation 0x00e33f83 __CFRunLoopRun + 979
18 CoreFoundation 0x00e33840 CFRunLoopRunSpecific + 208
19 CoreFoundation 0x00e33761 CFRunLoopRunInMode + 97
20 UIKit 0x001497d2 -[UIApplication _run] + 623
21 UIKit 0x00155c93 UIApplicationMain + 1160
22 FirstAid 0x00001cb9 main + 121
23 FirstAid 0x00001c35 start + 53
)
terminate called after throwing an instance of 'NSException'
This error may mean several things, but my bet is that some of your outlets (from IB) is broken. Examine your XIB-files + all their outlets and make sure they exist in your code as well.

Strange memory error in Xcode

I'm getting some strange memory errors in Xcode; it's accessing code from other apps which is very strange.
Here is the code:
[Session started at 2011-03-08 17:04:33 +0800.]
2011-03-08 17:04:59.438 Movie[5309:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "MovieViewController" nib but the view outlet was not set.'
*** Call stack at first throw:
(
0 CoreFoundation 0x00daebe9 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x00f035c2 objc_exception_throw + 47
2 CoreFoundation 0x00d67628 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x00d6759a +[NSException raise:format:] + 58
4 UIKit 0x00367b75 -[UIViewController _loadViewFromNibNamed:bundle:] + 295
5 UIKit 0x00365709 -[UIViewController loadView] + 120
6 UIKit 0x003655e3 -[UIViewController view] + 56
7 Movie 0x00002466 -[MovieAppDelegate application:didFinishLaunchingWithOptions:] + 79
8 UIKit 0x002b81fa -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1163
9 UIKit 0x002ba55e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 439
10 UIKit 0x002c4db2 -[UIApplication handleEvent:withNewEvent:] + 1533
11 UIKit 0x002bd202 -[UIApplication sendEvent:] + 71
12 UIKit 0x002c2732 _UIApplicationHandleEvent + 7576
13 GraphicsServices 0x016e4a36 PurpleEventCallback + 1550
14 CoreFoundation 0x00d90064 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
15 CoreFoundation 0x00cf06f7 __CFRunLoopDoSource1 + 215
16 CoreFoundation 0x00ced983 __CFRunLoopRun + 979
17 CoreFoundation 0x00ced240 CFRunLoopRunSpecific + 208
18 CoreFoundation 0x00ced161 CFRunLoopRunInMode + 97
19 UIKit 0x002b9fa8 -[UIApplication _run] + 636
20 UIKit 0x002c642e UIApplicationMain + 1160
21 Movie 0x000023f4 main + 102
22 Movie 0x00002385 start + 53
)
terminate called after throwing an instance of 'NSException'
Can you tell me what this means?
Thanks in advance!
It says in plain english what the problem is: "[UIViewController _loadViewFromNibNamed:bundle:] loaded the "MovieViewController" nib but the view outlet was not set". Set the view outlet in Interface Builder and that's it.

Resources