Xcode 7.0 (7A220): Playground crash
Originator: | igeek1 | ||
Number: | rdar://22751360 | Date Originated: | 17-Sep-2015 09:57 PM |
Status: | Resolved | Resolved: | July 11 2017, 10:47 AM |
Product: | Developer Tools | Product Version: | Xcode 7.0 (7A220) |
Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: The following code causes a playground to crash: import UIKit extension NSAttributedString: StringLiteralConvertible { public init(stringLiteral value: Self.StringLiteralType) { self.init(string: value) } } let a = NSAttributedString(string: "hello") let b: NSAttributedString = "world" Steps to Reproduce: 1. Create a new iOS playground. 2. Paste in the above code. Expected Results: No crash. A result, if the code is valid, or a warning if it is not. Actual Results: “Communication with the playground service was interrupted unexpectedly.” “The playground service "com.apple.dt.Xcode.Playground" may have generated a crash log.” Regression: Unknown
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!
My Response
I've confirmed that the playground no longer crashes in Xcode 9 beta 3.
Apple Developer Relations
Please verify this issue with the Xcode 9 beta and update your bug report at https://bugreport.apple.com/ with your results.
Xcode 9 beta 3 (9M174d) https://developer.apple.com/download/ Posted Date: July 10th, 2017
Crash log is at http://cl.ly/dEBt