WidgetKit Simulator with Intent Configurations

Xcode 16.2 are unavailable to develop widget with dynamic options, no matter SiriIntent or AppIntent that I try to use.

I have try to start a complete new project, then add widget with app intent checkbox check, with zero code changed then i press command run and WidgetKit Simulator present CHSErrorDomain error 1103 always, if i try to add widget directly from desktop, dynamic options are available to select but widgets doesn't seem like load successfully, it is stuck same in the WidgetKit Simulator.

I also try to start a new project in my other MacBook but no luck, this error are presenting all the time, I'm totally stuck here, does anybody having this issue?

Answered by Engineer in 822828022

Hi,

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include your sample project and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

Alternatively, you can use previews in your SwiftUI view. To test Widgets, you can use a preview as such:

#Preview(as: .systemMedium, widget: {
    EmojiRangerWidget()
}, timeline: {
    let date = Date()
    SimpleEntry(date: date, relevance: nil, hero: .spouty)
    SimpleEntry(date: date.addingTimeInterval(60), relevance: nil, hero: .spook)
})

Rico


WWDR | DTS | Software Engineer

Hi,

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include your sample project and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

Alternatively, you can use previews in your SwiftUI view. To test Widgets, you can use a preview as such:

#Preview(as: .systemMedium, widget: {
    EmojiRangerWidget()
}, timeline: {
    let date = Date()
    SimpleEntry(date: date, relevance: nil, hero: .spouty)
    SimpleEntry(date: date.addingTimeInterval(60), relevance: nil, hero: .spook)
})

Rico


WWDR | DTS | Software Engineer

WidgetKit Simulator with Intent Configurations
 
 
Q