Editing the text for labels in a view controller that uses Auto Layout causes Xcode to become unresponsive. The "Interface Builder Cocoa Touch Tool" saturates one core of the CPU and appears to be stuck in IBAutolayoutEngine. That, in turn, is stuck in UIView(AdditionalLayoutSupport) and the iterative solver (NSISEngine). See the attached Spindump.txt
Steps to Reproduce:
1) Open the attached Start.storyboard
2) Edit the label text so that it matches Edited.storyboard (use your favorite diff tool to verify that only the text was edited)
3) Eventually, Xcode will hang
Alternatively, just open Edited.storyboard. Make sure to save your work first, Xcode will hang as soon as you do this.
Expected Results:
I should be able replace Lorem ipsum with some real text for a help page in my app.
Actual Results:
I have had to force quit Xcode about 193 times in the last 12 hours. And I’ve given up on making the layout in my app nicer.
Regression:
None known.
Notes:
The design I'm trying to achieve here isn't particularly complex. I just want a column of text with a minimum width (300 pt) and a maximum width (500 pt) that maintains at least a 10 pt margin.
Xcode just can't handle it, even if I try to modify the storyboard by hand with text editor.
If you can suggest a workaround, I'd love to hear it. As is, I have to provide a crappy layout to my customers who are on iPads.
Description
Summary:
Editing the text for labels in a view controller that uses Auto Layout causes Xcode to become unresponsive. The "Interface Builder Cocoa Touch Tool" saturates one core of the CPU and appears to be stuck in IBAutolayoutEngine. That, in turn, is stuck in UIView(AdditionalLayoutSupport) and the iterative solver (NSISEngine). See the attached Spindump.txt
Steps to Reproduce:
1) Open the attached Start.storyboard 2) Edit the label text so that it matches Edited.storyboard (use your favorite diff tool to verify that only the text was edited) 3) Eventually, Xcode will hang
Alternatively, just open Edited.storyboard. Make sure to save your work first, Xcode will hang as soon as you do this.
Expected Results:
I should be able replace Lorem ipsum with some real text for a help page in my app.
Actual Results:
I have had to force quit Xcode about 193 times in the last 12 hours. And I’ve given up on making the layout in my app nicer.
Regression:
None known.
Notes:
The design I'm trying to achieve here isn't particularly complex. I just want a column of text with a minimum width (300 pt) and a maximum width (500 pt) that maintains at least a 10 pt margin.
Xcode just can't handle it, even if I try to modify the storyboard by hand with text editor.
If you can suggest a workaround, I'd love to hear it. As is, I have to provide a crappy layout to my customers who are on iPads.
Attachments: http://files.iconfactory.net/craig/bugs/AutolayoutHang.zip
Product Version: Xcode-beta (7D162j) Created: 2016-03-15T19:25:30.592680 Originated: 2016-03-15T12:25:00 Open Radar Link: http://www.openradar.me/25173433