Swift Logger file fails to compile in Release (Fastest [-O]) on iOS Simulator in Xcode 6 Beta 7
| Originator: | christian.noon | ||
| Number: | rdar://18260104 | Date Originated: | 9/7/14 |
| Status: | Closed | Resolved: | 10-Feb-2015 09:41 PM |
| Product: | Developer Tools | Product Version: | Xcode 6 Beta 7 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: The sample code that I have attached compiles fine in the Debug configuration with the Swift Optimization Level set to None. However, if you flip the Optimization Level to Release (Fastest [-O]), then it fails to compile the Logger.swift file. Steps to Reproduce: 1. Open the Swift Compiler example app 2. Run it in the iOS Simulator in Debug 3. Attempt to run it in the iOS Simulator in Release Expected Results: The app compile and run fine in Debug. It will fail to compile in Release. Version: Xcode 6 Beta 7, iOS 8 Beta 5 Attachments: 'Swift Compiler.zip' was successfully uploaded.
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!
Apple replied that the issue should be resolved in Xcode 6.3 beta 1 and it has in fact been fixed.