Hi.
In the latest betas I am having difficulty using the new CoreSpotlight API to index my app's content.
[[CSSearchableIndex defaultSearchableIndex] indexSearchableItems:newItemsToIndex completionHandler:^(NSError *indexError) {...}];After calling this method, I get several messages in the debugger that read:
[com.apple.corespotlight.log.index] Error caught while talking to the index agent, index:<CSSearchableIndex:0x7fc02d98be90; name="CSSearchableIndexShared">, error:Error Domain=NSCocoaErrorDomain Code=4097 "Couldn’t communicate with a helper application." (connection to service named com.apple.spotlight.IndexAgent) UserInfo=0x7fc02da64fc0 {NSDebugDescription=connection to service named com.apple.spotlight.IndexAgent}As far as the release notes detail, there are no known issues with the API. Is anyone else having this issue?