you just need to implement AppShortcut. iOS decides what to suggest there, so in this case it’s likely because you used chatgpt a lot so it’s shortcut is being suggested.
Post
Replies
Boosts
Views
Activity
I found that this happens when the deployment target is set to iOS 16. This can be reproduced on a brand new project.
Here's a full log:
Build WebAI_2024-09-25T12-01-56.txt
thanks for your help @DTS Engineer
Is there a workaround to keep deployment target to iOS 16 while still making this work?
Hi @DTS Engineer ,
Does this require Xcode 16.1?
I'm on Xcode Version 16.0 (16A242d), and I'm getting the error: Value of type 'WKWebViewConfiguration' has no member 'writingToolsBehavior'.
Did anyone see this getting fixed in beta 6? We didn't have a repro for this bug, but from our crash logging data it does seem that the crash volume went down after the release of beta 6.
I finally figured out a way to fix it.
Previously when we create CSSearchableItemAttributeSet when only set its title property. Now with iOS 17, we also need to set displayName property in order for the item to show up.
The code will look like this:
let attribute = CSSearchableItemAttributeSet(contentType: .item)
attribute.title = title
attribute.displayName = title // this is the line that's not required before iOS 17, but necessary now
let item = CSSearchableItem(uniqueIdentifier: id, domainIdentifier: nil, attributeSet: attribute)
CSSearchableIndex.default().indexSearchableItems([item])
Thanks @arcangel06 and @Mr. Brightside . It's reassuring to know that we are not alone.
But what concerns me is that for some apps, on iOS 17 beta Spotlight Search does work, e.g. on both Venmo and WhatsApp you can search for friends on Spotlight. So I'm a little worried that Apple would consider this as not broken since it works for some apps.
Also I tried to build from both Xcode 14 and Xcode 15 beta. In both cases, it doesn't work on iOS 17 devices.