Michael Stanford created CB-10612:
-------------------------------------

             Summary: Empty iOS Hello Cordova app issues constraint warning on 
Cmd-Y 
                 Key: CB-10612
                 URL: https://issues.apache.org/jira/browse/CB-10612
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 6.0.0
         Environment: OS X Xcode
            Reporter: Michael Stanford


Create a new project:
$ cordova create foo
$ cd foo
$ cordova platform add iOS
$ cordova build

$cordova -v
6.0.0
$cordova platforms list
Installed platforms: iOS 4.0.1

Run HelloCordova.xcodeproj in Xcode 6S Simulator.

Press Cmd-Y to invoke the in-call status bar. 

The following appears in the Xcode Console:
------------------
2016-02-14 17:41:45.644 HelloCordova[67062:2399288] 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:0x7fb16bb6aa30 
V:|-(20)-[UIInputSetContainerView:0x7fb16bb67820]   (Names: 
'|':UITextEffectsWindow:0x7fb169e65850 )>",
    "<NSLayoutConstraint:0x7fb16bb5fa10 'UIInputWindowController-top' 
V:|-(0)-[UIInputSetContainerView:0x7fb16bb67820]   (Names: 
'|':UITextEffectsWindow:0x7fb169e65850 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x7fb16bb6aa30 
V:|-(20)-[UIInputSetContainerView:0x7fb16bb67820]   (Names: 
'|':UITextEffectsWindow:0x7fb169e65850 )>

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.







--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to