Post

Replies

Boosts

Views

Activity

Reply to CLKComplicationWidgetMigrator not working
I faced the same issue today when migrating to watchOS 10 and widgetkit complications. What finally helped was to add supportedFamilies to WidgetConfiguration (the body parameter of the @main Widget struct) @main struct WatchWidget: Widget { let kind: String = "WatchWidget" var body: some WidgetConfiguration { StaticConfiguration(kind: kind, provider: Provider()) { entry in if #available(watchOS 10.0, *) { WatchWidgetEntryView(entry: entry) .containerBackground(.fill.tertiary, for: .widget) } else { WatchWidgetEntryView(entry: entry) .padding() .background() } } .configurationDisplayName("WATCH-WIDGET") .description("WATCH-WIDGET") .supportedFamilies([.accessoryCorner, .accessoryCircular, .accessoryInline, .accessoryRectangular]) //<-- this } } Once this was done the migration started working!
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Reply to Xcode 12.0 GM (12A7208) fails to submit for review
Same here. XCode Version 15.0.1 (15A507)
Replies
Boosts
Views
Activity
Nov ’23
Reply to CLKComplicationWidgetMigrator not working
I faced the same issue today when migrating to watchOS 10 and widgetkit complications. What finally helped was to add supportedFamilies to WidgetConfiguration (the body parameter of the @main Widget struct) @main struct WatchWidget: Widget { let kind: String = "WatchWidget" var body: some WidgetConfiguration { StaticConfiguration(kind: kind, provider: Provider()) { entry in if #available(watchOS 10.0, *) { WatchWidgetEntryView(entry: entry) .containerBackground(.fill.tertiary, for: .widget) } else { WatchWidgetEntryView(entry: entry) .padding() .background() } } .configurationDisplayName("WATCH-WIDGET") .description("WATCH-WIDGET") .supportedFamilies([.accessoryCorner, .accessoryCircular, .accessoryInline, .accessoryRectangular]) //<-- this } } Once this was done the migration started working!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23