NSUserActivity: setting relatedUniqueIdentifier prevents indexing
| Originator: | futuretap | ||
| Number: | rdar://21958439 | Date Originated: | 23-Jul-2015 11:55 AM |
| Status: | Closed/Behaves correctly | Resolved: | |
| Product: | iOS SDK | Product Version: | 9.0b4 |
| Classification: | Serious Bug | Reproducible: | Always |
If i set a relatedUniqueIdentifier (to anything) in a CSSearchableItemAttributeSet which is assigned to the NSUserActivity, the item doesn't get indexed. If I leave the item without a relatedUniqueIdentifier, it gets indexed. However, I need this for the de-duplication of search results added via NSUserActivity, CoreSpotlight and the web crawler.
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!
6) My response
OK. Please provide an answer to this question: https://forums.developer.apple.com/thread/11131 Also, if the issue is tagged as "Behaves correctly", may I suggest updating the documentation to clarify the situation? It is definitely not obvious that setting relatedUniqueIdentifier on NSUserActivity prevents indexing.
5) Apple response
No. DTS support is for GM versions. The forums are monitored and new questions will be addressed. Please don’t use bug reports to request answers.
We are leaving this report closed.
4) My response
Does this mean that DTS is available for iOS beta versions now?
I posted to the developer forums but did not receive a reply: https://forums.developer.apple.com/thread/11131 Since the issue affects many developers, may I suggest providing a response publicly in the forums? This would be very helpful.
Thanks!
3) Apple response
Paid support is available to assist with your coding question. Here is the link for details:
https://developer.apple.com/support/technical/submit/
Additional information is available at:
https://developer.apple.com/support/technical/
We hope this information is helpful to you. We consider this issue closed.
Please be sure to regularly check new Apple releases for any updates that might affect this issue.
2) My response
Really? Then, how can I relate an NSUserActivity with an item added via CoreSpotlight or the web crawler? The WWDC session explicitly explained that this can be done via relatedUniqueIdentifier.
1) Apple response
This issue behaves as intended.
We are now closing this bug report.