Advertisement
redribben

app crash

Jan 17th, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.36 KB | None | 0 0
  1. 2015-01-17 17:42:48.391 trash[4034:504194] The view hierarchy is not prepared for the constraint: <NSLayoutConstraint:0x7fb24d815a40 UIView:0x7fb24b7077e0.right == UIScrollView:0x7fb24b7092a0.right>
  2. When added to a view, the constraint's items must be descendants of that view (or the view itself). This will crash if the constraint needs to be resolved before the view hierarchy is assembled. Break on -[UIView _viewHierarchyUnpreparedForConstraint:] to debug.
  3. 2015-01-17 17:42:48.392 trash[4034:504194] *** Assertion failure in -[UIView _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:], /SourceCache/UIKit_Sim/UIKit-3318.16.14/NSLayoutConstraint_UIKitAdditions.m:560
  4. 2015-01-17 17:42:48.394 trash[4034:504194] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Impossible to set up layout with view hierarchy unprepared for constraint.'
  5. *** First throw call stack:
  6. (
  7. 0 CoreFoundation 0x000000010e53cf35 __exceptionPreprocess + 165
  8. 1 libobjc.A.dylib 0x000000010e1d5bb7 objc_exception_throw + 45
  9. 2 CoreFoundation 0x000000010e53cd9a +[NSException raise:format:arguments:] + 106
  10. 3 Foundation 0x000000010ddf25df -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
  11. 4 UIKit 0x000000010efa3cf2 __120-[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:]_block_invoke_2 + 177
  12. 5 UIKit 0x000000010efa3bf0 -[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 386
  13. 6 UIKit 0x000000010efa3ea4 -[UIView(UIConstraintBasedLayout) _tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutuallyExclusiveConstraints:] + 30
  14. 7 UIKit 0x000000010efa3fcc -[UIView(UIConstraintBasedLayout) _tryToAddConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 243
  15. 8 UIKit 0x000000010efa430b __50-[UIView(UIConstraintBasedLayout) addConstraints:]_block_invoke + 188
  16. 9 Foundation 0x000000010dd7bd6e -[NSISEngine withBehaviors:performModifications:] + 155
  17. 10 UIKit 0x000000010efa4240 -[UIView(UIConstraintBasedLayout) addConstraints:] + 263
  18. 11 trash 0x000000010dca7ac0 -[ViewController viewDidLoad] + 1616
  19. 12 UIKit 0x000000010ea4ea90 -[UIViewController loadViewIfRequired] + 738
  20. 13 UIKit 0x000000010ea4ec8e -[UIViewController view] + 27
  21. 14 UIKit 0x000000010e96dca9 -[UIWindow addRootViewControllerViewIfPossible] + 58
  22. 15 UIKit 0x000000010e96e041 -[UIWindow _setHidden:forced:] + 247
  23. 16 UIKit 0x000000010e97a72c -[UIWindow makeKeyAndVisible] + 42
  24. 17 UIKit 0x000000010e925061 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2628
  25. 18 UIKit 0x000000010e927d2c -[UIApplication _runWithMainScene:transitionContext:completion:] + 1350
  26. 19 UIKit 0x000000010e926bf2 -[UIApplication workspaceDidEndTransaction:] + 179
  27. 20 FrontBoardServices 0x00000001110e52a3 __31-[FBSSerialQueue performAsync:]_block_invoke + 16
  28. 21 CoreFoundation 0x000000010e47253c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
  29. 22 CoreFoundation 0x000000010e468285 __CFRunLoopDoBlocks + 341
  30. 23 CoreFoundation 0x000000010e468045 __CFRunLoopRun + 2389
  31. 24 CoreFoundation 0x000000010e467486 CFRunLoopRunSpecific + 470
  32. 25 UIKit 0x000000010e926669 -[UIApplication _run] + 413
  33. 26 UIKit 0x000000010e929420 UIApplicationMain + 1282
  34. 27 trash 0x000000010dca88a3 main + 115
  35. 28 libdyld.dylib 0x0000000110acc145 start + 1
  36. 29 ??? 0x0000000000000001 0x0 + 1
  37. )
  38. libc++abi.dylib: terminating with uncaught exception of type NSException
  39. (lldb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement