Process.arguments Crashes Compiler
| Originator: | eknapp | ||
| Number: | rdar://21402901 | Date Originated: | 06/16/2015 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Version 7.0 beta (7A120f) |
| Classification: | Reproducible: |
Summary: Adding the code "Process.arguments" in an init() method in a class or struct in a Command Line App will crash the compiler with a "Command failed due to signal: Abort trap: 6" message. Steps to Reproduce: 1. Add the code "Process.arguments" to an init() method in a class or struct. 2. Compile Expected Results: The app should compile and the suspect code should return arguments from the command line. Actual Results: The compiler crashes with a "Command failed due to signal: Abort trap: 6" error. Version: Version 7.0 beta (7A120f) Notes: Configuration: It occurs in Command Line Apps made with Xcode 7 beta and Swift 2.0.
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!