NSError.localizedDescription now always returns default string constructed from the domain and code
| Originator: | s.pershenkov | ||
| Number: | rdar://18365111 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 8 GM |
| Classification: | Reproducible: | Always |
Summary: On iOS 7/Xcode 5/Objective-C projects NSError.localizedDescription returns readable description like "Request timed out". But now on iOS 8/Xcode 6/Swift it always returns strings like "The operation couldn't be completed. (NSURLErrorDomain error -1001.)" Steps to Reproduce: Call NSError.localizedDescription Expected Results: Readable localized string Actual Results: Default string constructed from the domain and code Version: iOS 8 GM Configuration: iPhone 5, A1429
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!