Xcode 7.3 beta: Playground liveView autolayout view frame bug

Originator:king7532
Number:rdar://24593445 Date Originated:10-Feb-2016 03:52 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.3 beta 3 (7D141l)
Classification:Serious Bug Reproducible:Always
 
Summary:
The class ViewController behaves differently when run in the iOS Simulator and an Xcode 7.3 Playground liveView. 

Steps to Reproduce:
Execute the class MyViewController in an Xcode Playground and the iOS Simulator.

Expected Results:
The Xcode Playground liveView *should* display a red square at position 0,0 and size 100,100.  This works as expected in the iOS Simulator.

Actual Results:
The Xcode Playground liveView does *not* show a red square because it’s size is now 0,0 see the 3rd console log print statement.  This works as expected in the iOS Simulator.

Notes:
See the screen shot from the Xcode Playground and iOS Simulator in the attached zip file along with the ViewController.swift.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!