martintietz / ti.ios.trim

A module for trimming and compressing videos with Appcelerator Titanium.
MIT License
32 stars 9 forks source link

Crash issue - unable to relayout (xib/nib file issue maybe) #8

Open aditya1210 opened 9 years ago

aditya1210 commented 9 years ago

It fails to re-layout once the video compression starts. It says -

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. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) [DEBUG] : ( [DEBUG] : "<NSLayoutConstraint:0x7a0f67f0 H:|-(34)-MPKnockoutButton:0x7a0f3f70 (Names: '|':_UIBackdropContentView:0x79f765d0 )>", [DEBUG] : "<NSLayoutConstraint:0x7a0f6860 H:[MPKnockoutButton:0x7a0f3f70]-(34)-MPDetailSlider:0x79f77730>", [DEBUG] : "<NSLayoutConstraint:0x7a0f6890 H:[MPDetailSlider:0x79f77730]-(34)-UIView:0x79f76a30>", [DEBUG] : "<NSLayoutConstraint:0x7a0f6820 UIView:0x79f76a30.right == _UIBackdropView:0x79f69530.right>", [DEBUG] : "<NSLayoutConstraint:0x79f77130 H:|-(0)-[_UIBackdropView:0x79f69530] (Names: '|':MPVideoPlaybackOverlayView:0x79f6a1e0 )>", [DEBUG] : "<NSLayoutConstraint:0x79f77180 H:[_UIBackdropView:0x79f69530]-(0)-| (Names: '|':MPVideoPlaybackOverlayView:0x79f6a1e0 )>", [DEBUG] : "<NSLayoutConstraint:0x7a0fa890 H:[MPVideoPlaybackOverlayView:0x79f6a1e0(0)]>", [DEBUG] : "<NSAutoresizingMaskLayoutConstraint:0x7a0fbd10 h=-&- v=-&- _UIBackdropContentView:0x79f765d0.midX == _UIBackdropView:0x79f69530.midX>", [DEBUG] : "<NSAutoresizingMaskLayoutConstraint:0x7a0fbd40 h=-&- v=-&- _UIBackdropContentView:0x79f765d0.width == _UIBackdropView:0x79f69530.width>" [DEBUG] : ) [DEBUG] :
[DEBUG] : Will attempt to recover by breaking constraint [DEBUG] : <NSLayoutConstraint:0x7a0f6860 H:[MPKnockoutButton:0x7a0f3f70]-(34)-MPDetailSlider:0x79f77730> [DEBUG] :
[DEBUG] : Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. [DEBUG] : The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. [DEBUG] : 2015-03-12 00:28:10.794 Test1[96568:746442] Unable to simultaneously satisfy constraints.

sobytes commented 8 years ago

I also seem to get this error just crashes

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
[INFO] :   The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
[INFO] :   Unable to simultaneously satisfy constraints.
[INFO] :    Probably at least one of the constraints in the following list is one you don't want. 
[INFO] :    Try this: 
[INFO] :        (1) look at each constraint and try to figure out which you don't expect; 
[INFO] :        (2) find the code that added the unwanted constraint or constraints and fix it. 
[INFO] :    (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
[INFO] :   (
[INFO] :       "<NSAutoresizingMaskLayoutConstraint:0x127505960 h=-&- v=-&- _UIBackdropContentView:0x12740ef80.midX == _UIBackdropView:0x127504a60.midX>",
[INFO] :       "<NSAutoresizingMaskLayoutConstraint:0x1275059b0 h=-&- v=-&- _UIBackdropContentView:0x12740ef80.width == _UIBackdropView:0x127504a60.width>",
[INFO] :       "<NSAutoresizingMaskLayoutConstraint:0x127505f30 h=-&- v=-&- MPVideoPlaybackOverlayView:0x127471660.width == MPVideoContainerView:0x12705e840.width>",
[INFO] :       "<NSAutoresizingMaskLayoutConstraint:0x12751b2d0 h=-&- v=-&- MPVideoContainerView:0x12705e840.width == MPSwipableView:0x1275043c0.width>",
[INFO] :       "<NSLayoutConstraint:0x1275081b0 H:|-(34)-[MPKnockoutButton:0x127508a80](LTR)   (Names: '|':_UIBackdropContentView:0x12740ef80 )>",
[INFO] :       "<NSLayoutConstraint:0x127508200 H:[MPKnockoutButton:0x127508a80]-(34)-[MPDetailSlider:0x127472c30](LTR)>",
[INFO] :       "<NSLayoutConstraint:0x12750cf70 H:[MPDetailSlider:0x127472c30]-(34)-[UIView:0x127504d70](LTR)>",
[INFO] :       "<NSLayoutConstraint:0x1272c60e0 UIView:0x127504d70.right == _UIBackdropView:0x127504a60.right - 34>",
[INFO] :       "<NSLayoutConstraint:0x12750d300 MPKnockoutButton:0x127508510.left == UIView:0x127504d70.left>",
[INFO] :       "<NSLayoutConstraint:0x12750d770 MPKnockoutButton:0x127508510.right == UIView:0x127504d70.right>",
[INFO] :       "<NSLayoutConstraint:0x1272d6230 H:|-(0)-[_UIBackdropView:0x127504a60]   (Names: '|':MPVideoPlaybackOverlayView:0x127471660 )>",
[INFO] :       "<NSLayoutConstraint:0x12704d2e0 H:[_UIBackdropView:0x127504a60]-(0)-|   (Names: '|':MPVideoPlaybackOverlayView:0x127471660 )>",
[INFO] :       "<NSLayoutConstraint:0x125f3cd80 '_UITemporaryLayoutWidth' H:[MPSwipableView:0x1275043c0(0)]>"
[INFO] :   )