CoreSpotlight is available on iOS/tvOS but not on macOS
| Originator: | steipete | ||
| Number: | rdar://29135410 | Date Originated: | 07-Nov-2016 09:04 AM |
| Status: | Open | Resolved: | |
| Product: | macOS SDK | Product Version: | 10.12.1 |
| Classification: | Reproducible: |
Peter Steinberger07-Nov-2016 09:04 AM Summary: Spotlight was first created on the mac and brought to iOS in iOS 9, in the form of CoreSpotlight.framework. This is very useful. We run almost all of our tests for the mac to be prepared for future things, and just discovered that CoreSpotlight is only a private framework on the Mac. it seems that at some point it was planned to be public but didn't made it based on https://twitter.com/steipete/status/795530512202952704 Steps to Reproduce: Check CoreSpotlight.headers Find that it's there on iOS but not on the mac. Check Mac for CoreSpotlight in Private Frameworks Disassemble and check that it really is the same Cry a little bit. Expected Results: CoreSpotlight should be accessible. Actual Results: CoreSpotlight is not accessible. Version: Xcode 8.1GM Notes: CoreSpotlight must exist on the Mac for a while. I see that we can write custom importers but this is really archaic and CoreSpotlight is much more powerful - can be driven by an XPC process with much more control than dropping a binary into the Spotlight folder and asking the user for a restart... Configuration: Retina MacBook Pro 2015 Attachments:
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!