As the other comment says, you can't... you can also try Xcode Cloud. Your developer subscription includes some hours. That's what I've been doing, working great.
Interesting... I thought that was just supposed to do an UPSERT (which it seems to do), though I thought that was by design and not something that should justify a warning.
Agree that it seems to work fine despite the scary error message.
The first seed has only been out for a week so it's not possible that you've been waiting that long. Check the Feedback app - it has a note posted about testing those features stating that users will be added over the coming weeks (i.e. multiple).
Are these features even enabled in any version of iOS 18, shipped or seeded? I thought that the @AssistantIntent and related stuff was included in the SDK for us to get ready but that these weren't active yet in Siri - I can't remember where I got that, the WWDC video I think?
No, I have not been able to get any prompt to appear.
Yeah, it's talked about here - all of the testing is meant to be done in the Shortcuts app for now.
https://developer.apple.com/videos/play/wwdc2024/10133/?time=104
I don't think this is live in Siri yet... at least they haven't announced it and none of the other features in the 'personal context' category have shipped. Apple hasn't said when - rumors say 18.3 or 18.4 (i.e. 2025).
Related follow-up question for this integration with Spotlight:
Do I need to implement both CSSearchableItem's new associateAppEntity AND also a custom implementation of attributeSet in my IndexedEntity conformance? It seems duplicative but I can't tell from the video if you're supposed to do both or just one or the other.
I was bored so played with this a bit - I couldn't make it work with a custom type. Works fine if you use the built-in 'todoItem' type. Seems like a bug, yeah.
After spending some time talking with DTS and reviewing the updated App Intent sample code located here https://developer.apple.com/documentation/appintents/acceleratingappinteractionswithappintents, I've got my answer.
The sample provides one way to integrate Spotlight, by indexing a separate model and associating the app entity. What I discovered was that if you want to implement IndexedEntity, you can indeed provide an extended attribute set, you just need to start with the existing one, not create your own. Pretty simple:
extension HotelEntity: IndexedEntity {
var attributeSet: CSSearchableItemAttributeSet {
let existingAttributes = defaultAttributeSet // this is the key
existingAttributes.displayName = "\(name) displayName"
existingAttributes.title = "\(name) title"
existingAttributes.domainIdentifier = "\(name) domainIdentifier"
existingAttributes.identifier = "\(name) identifier"
existingAttributes.contentDescription = "\(name) contentDescription"
existingAttributes.namedLocation = "\(name) namedLocation"
return existingAttributes
}
}
With that, it's all working!
As the other comment says, you can't... you can also try Xcode Cloud. Your developer subscription includes some hours. That's what I've been doing, working great.
Interesting... I thought that was just supposed to do an UPSERT (which it seems to do), though I thought that was by design and not something that should justify a warning.
Agree that it seems to work fine despite the scary error message.
The first seed has only been out for a week so it's not possible that you've been waiting that long. Check the Feedback app - it has a note posted about testing those features stating that users will be added over the coming weeks (i.e. multiple).
Are these features even enabled in any version of iOS 18, shipped or seeded? I thought that the @AssistantIntent and related stuff was included in the SDK for us to get ready but that these weren't active yet in Siri - I can't remember where I got that, the WWDC video I think?
No, I have not been able to get any prompt to appear.
Yeah, it's talked about here - all of the testing is meant to be done in the Shortcuts app for now.
https://developer.apple.com/videos/play/wwdc2024/10133/?time=104
I don't think this is live in Siri yet... at least they haven't announced it and none of the other features in the 'personal context' category have shipped. Apple hasn't said when - rumors say 18.3 or 18.4 (i.e. 2025).
Related follow-up question for this integration with Spotlight:
Do I need to implement both CSSearchableItem's new associateAppEntity AND also a custom implementation of attributeSet in my IndexedEntity conformance? It seems duplicative but I can't tell from the video if you're supposed to do both or just one or the other.
I was bored so played with this a bit - I couldn't make it work with a custom type. Works fine if you use the built-in 'todoItem' type. Seems like a bug, yeah.
After spending some time talking with DTS and reviewing the updated App Intent sample code located here https://developer.apple.com/documentation/appintents/acceleratingappinteractionswithappintents, I've got my answer.
The sample provides one way to integrate Spotlight, by indexing a separate model and associating the app entity. What I discovered was that if you want to implement IndexedEntity, you can indeed provide an extended attribute set, you just need to start with the existing one, not create your own. Pretty simple:
extension HotelEntity: IndexedEntity {
var attributeSet: CSSearchableItemAttributeSet {
let existingAttributes = defaultAttributeSet // this is the key
existingAttributes.displayName = "\(name) displayName"
existingAttributes.title = "\(name) title"
existingAttributes.domainIdentifier = "\(name) domainIdentifier"
existingAttributes.identifier = "\(name) identifier"
existingAttributes.contentDescription = "\(name) contentDescription"
existingAttributes.namedLocation = "\(name) namedLocation"
return existingAttributes
}
}
With that, it's all working!