Spotlight fails to return any results in iOS 9
| Originator: | mabdala | ||
| Number: | rdar://22454602 | Date Originated: | 08/27/2015 |
| Status: | Closed | Resolved: | 09/23/2015 |
| Product: | iOS | Product Version: | iOS 9 b5 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: When trying to search on Spotlight on iOS 9, I most of the times get an empty screen. Even with the simplest of searches. I'm working on an app that uses CoreSpotlight to add items to the search results, when I clear those Spotlight seems to start working again. See attached crash logs. Steps to Reproduce: 1. Run my app (not sure how you'll repro this). 2. Search on Spotlight. Expected Results: 3. Get results. Actual Results: 3. Nothing shows up. http://cl.ly/image/393s3p1s2p1V Version: iOS 9 b5 Notes: Configuration: iPhone 6 Attachments: 'searchd.zip' was successfully uploaded. ------------------ August 31 After being hinted that this may be an issue with the telephones that we were using to create the CSSearchableItems, we searched for those that were returning nil after running: var phone = NSURL(string: "tel:\(telephone)") These are some real life phones in our app that will do that, I attached location for phone in case the format seems odd to you. >> 11 4504 4134 << Buenos Aires +34 943 59 88 40 << Spain Cell +34 672 061 806 << Spain 5740 7690 << Buenos Aires Cell 4864 7819 << Buenos Aires (555) 564-8583 (415) 555-3695 153 692 3195 << Buenos Aires Cell +54 9 11 5471 2957 << Buenos Aires Cell 11 5103 4142 << Buenos Aires Cell 4343 2574 << Buenos Aires 11 5936 4680 << Buenos Aires +54 9 11 6426 1611 << Buenos Aires Cell 11 4780 3785 << Buenos Aires +124 0289 2289 +1 (240) 603-5220 1 (241) 241-2 (408) 555-5270 (408) 555-3514 +34 667 615 604 221 575 2711 4702 1421 6721 2948 11 6413 4964 11 4778 3550 +54 9 11 6168‑6594 11 4631 9487 11 6264 6645 (555) 766-4823 (707) 555-1854 Seems like the issue is the space in them: https://s3.amazonaws.com/uploads.hipchat.com/98169/720772/RsL2QHCymskEWJq/upload.png https://s3.amazonaws.com/uploads.hipchat.com/98169/720772/mEoQ6Fw3DpbwXpY/upload.png After removing the white space from them, spotlight stopped crashing for us. Thanks.
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!