Crash when selecting text in a NSTextField on IOS 7
| Originator: | victor.pimentel | ||
| Number: | rdar://15261204 | Date Originated: | 18/10/13 |
| Status: | Open | Resolved: | No |
| Product: | iOS | Product Version: | 7.0.2 |
| Classification: | Crash | Reproducible: | Sometimes |
Summary: When selecting text in a text field, sometimes it crashes with this reason (see attached full crashlog): *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UITextKitTextRange domRange]: unrecognized selector sent to instance 0x14f39020' It is happening in an app compiled with Xcode 4.6.3 that gets executed in iOS 7 (there are crashes for 7.0 and 7.0.2). Steps to Reproduce: 1. Open an app compiled in Xcode 4 in a device with iOS 7. 2. Go to a text field. 3. Type something. 4. Try to select something Expected Results: The menu should appear. Actual Results: Instant crash Version: 7.0.2 Notes: Configuration: App compiled in Xcode 4.6.3 for SDK 5.0 and running in a device with 7.0 or 7.0.2 Attachments: 'DomRangeCrashlog.txt' was successfully uploaded. https://s3.amazonaws.com/hockey-app-bucket/production/crashes/logs/738/270/770/original/e4d2e7ca336fb2cb61a77cbfda0822ef.log?1382028669
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!