Xcode-Beta (6D520o): Crash In Swift Debugger When Using Static Libraries
| Originator: | wetzeal | ||
| Number: | rdar://19792487 | Date Originated: | 10-Feb-2015 10:30 PM |
| Status: | Closed | Resolved: | 23-Feb-2015 |
| Product: | Developer Tools | Product Version: | Xcode-Beta (6D520o) |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary: The attached project causes Xcode to crash when printing a value in the debugger. The trigger appears to be linking against a library, in this case Crashlytics/Fabric. This library provides a modulemap for compatibility with Swift, which could be a factor. Steps to Reproduce: 1. Open included xcode project 2. Set a breakpoint in application(:didFinishLaunchingWithOptions:) 3. `po self`when the debugger pauses Expected Results: A description of `self` is printed to the console Actual Results: Xcode crashes completely Regression: This did not happen in Xcode 6.1.1 Notes: In this example project, the crash only occurs when the deployment target is a version of iOS 8. However, the project I originally encountered this issue with targets 7.1. I am not sure what difference causes that project to crash but not this one when targeting iOS 7.
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!