NCCA-FBLA / Fabric-iOS

An open source cross-platform social media application for fashion.
http://ncca-fbla.github.io/fabric/
1 stars 0 forks source link

Constraint Error on Build / Run #1

Closed James-Parsons closed 8 years ago

James-Parsons commented 8 years ago

Whenever I attempt to run the app, I get a constraint exception and the splash screen just gets stuck. Here is the full stacktrace:

2016-01-19 14:36:26.784 Fabric[2532:84967] Unable to simultaneously satisfy constraints.
    Probably at least one of the constraints in the following list is one you don't want. 
    Try this: 
        (1) look at each constraint and try to figure out which you don't expect; 
        (2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x799552c0 UIImageView:0x799519d0.width == UIView:0x79954430.width - 480>",
    "<NSLayoutConstraint:0x79939420 'UIView-Encapsulated-Layout-Width' H:[UIView:0x79954430(320)]>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x799552c0 UIImageView:0x799519d0.width == UIView:0x79954430.width - 480>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-01-19 14:36:28.604 Fabric[2532:84967] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Fabric.SignInViewController 0x78761700> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key temporaryClick.'
*** First throw call stack:
(
    0   CoreFoundation                      0x0199ba84 __exceptionPreprocess + 180
    1   libobjc.A.dylib                     0x037f7e02 objc_exception_throw + 50
    2   CoreFoundation                      0x0199b6a1 -[NSException raise] + 17
    3   Foundation                          0x01fb031c -[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:] + 282
    4   Foundation                          0x01f0a8da _NSSetUsingKeyValueSetter + 115
    5   Foundation                          0x01f0a85f -[NSObject(NSKeyValueCoding) setValue:forKey:] + 295
    6   UIKit                               0x02501845 -[UIViewController setValue:forKey:] + 85
    7   Foundation                          0x01f3f0bd -[NSObject(NSKeyValueCoding) setValue:forKeyPath:] + 384
    8   UIKit                               0x0277405c -[UIRuntimeOutletConnection connect] + 132
    9   libobjc.A.dylib                     0x0380c00c -[NSObject performSelector:] + 62
    10  CoreFoundation                      0x018cc571 -[NSArray makeObjectsPerformSelector:] + 273
    11  UIKit                               0x027726f6 -[UINib instantiateWithOwner:options:] + 2102
    12  UIKit                               0x02509294 -[UIViewController _loadViewFromNibNamed:bundle:] + 429
    13  UIKit                               0x02509ccc -[UIViewController loadView] + 189
    14  UIKit                               0x0250a0d8 -[UIViewController loadViewIfRequired] + 154
    15  UIKit                               0x0250a9c5 -[UIViewController view] + 35
    16  UIKit                               0x02da1bbc -[_UIFullscreenPresentationController _setPresentedViewController:] + 89
    17  UIKit                               0x024d43e7 -[UIPresentationController initWithPresentedViewController:presentingViewController:] + 140
    18  UIKit                               0x0251ee4d -[UIViewController _presentViewController:withAnimationController:completion:] + 4539
    19  UIKit                               0x025223ab __62-[UIViewController presentViewController:animated:completion:]_block_invoke_2 + 88
    20  UIKit                               0x023fd9f2 +[UIView(Animation) performWithoutAnimation:] + 82
    21  UIKit                               0x023fda3b +[UIView(Animation) _performWithoutAnimation:] + 40
    22  UIKit                               0x025222b5 __62-[UIViewController presentViewController:animated:completion:]_block_invoke + 247
    23  UIKit                               0x02522690 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 493
    24  UIKit                               0x02522177 -[UIViewController presentViewController:animated:completion:] + 182
    25  UIKit                               0x025280eb -[UIViewController _showViewController:withAction:sender:] + 325
    26  UIKit                               0x029fddf1 __66-[UIStoryboardShowSegueTemplate newDefaultPerformHandlerForSegue:]_block_invoke + 165
    27  UIKit                               0x02b5cc62 -[UIStoryboardSegue perform] + 37
    28  UIKit                               0x02b491e7 -[UIStoryboardSegueTemplate _performWithDestinationViewController:sender:] + 508
    29  UIKit                               0x02b48fbf -[UIStoryboardSegueTemplate _perform:] + 92
    30  UIKit                               0x0250d56b -[UIViewController performSegueWithIdentifier:sender:] + 105
    31  Fabric                              0x0013b440 _TFFC6Fabric20SplashViewController13viewDidAppearFS0_FSbT_U0_FSbT_ + 176
    32  Fabric                              0x0013a734 _TPA__TFFC6Fabric20SplashViewController13viewDidAppearFS0_FSbT_U0_FSbT_ + 68
    33  Fabric                              0x0013b49c _TTRXFo_dSb_dT__XFo_iSb_iT__ + 28
    34  Fabric                              0x0013a7ea _TPA__TTRXFo_dSb_dT__XFo_iSb_iT__ + 90
    35  Fabric                              0x0013b4d7 _TTRXFo_iSb_iT__XFo_dSb_dT__ + 39
    36  Fabric                              0x0013a89e _TPA__TTRXFo_iSb_iT__XFo_dSb_dT__ + 78
    37  Fabric                              0x0013b525 _TTRXFo_dSb_dT__XFdCb_dV10ObjectiveC8ObjCBool_dT__ + 69
    38  UIKit                               0x023fe9b0 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 647
    39  UIKit                               0x023d89af -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 247
    40  UIKit                               0x023d8da5 -[UIViewAnimationState animationDidStop:finished:] + 90
    41  QuartzCore                          0x010a3095 _ZN2CA5Layer23run_animation_callbacksEPv + 305
    42  libdispatch.dylib                   0x04b229cd _dispatch_client_callout + 14
    43  libdispatch.dylib                   0x04b07f90 _dispatch_main_queue_callback_4CF + 910
    44  CoreFoundation                      0x018ed5fe __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
    45  CoreFoundation                      0x018ab2f4 __CFRunLoopRun + 2356
    46  CoreFoundation                      0x018aa706 CFRunLoopRunSpecific + 470
    47  CoreFoundation                      0x018aa51b CFRunLoopRunInMode + 123
    48  GraphicsServices                    0x04a22664 GSEventRunModal + 192
    49  GraphicsServices                    0x04a224a1 GSEventRun + 104
    50  UIKit                               0x023401eb UIApplicationMain + 160
    51  Fabric                              0x0013fbec main + 140
    52  libdyld.dylib                       0x04b4ca21 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
James-Parsons commented 8 years ago

Ok fixed, it committing the fix now.