Post

Replies

Boosts

Views

Activity

Reply to Pulling my hair out with Widgets
More debugging... Looks like I was adding too many timeline entries. Doesn't explain why the entire thing exhibits the behaviours seen above just because there are too many timeline entries. Surely iOS should simply not add any over a certain count or memory footprint, or at least warn the developer instead of appearing to be utterly broken?
Topic: App & System Services SubTopic: General Tags:
Oct ’23
Reply to WatchWidget does not define either an NSExtensionMainStoryboard or NSExtensionPrincipalClass - because it can't!
I recently had this issue, too. I have no idea how it got fixed, but this is what I have in the Info: Main app - does not have this key. Widget extension (Home Screen widgets and Lock Screen widgets) - has NSExtension containing NSExtensionPointIdentifier only. Watch App - does not have this key. Complications widget extension - has NSExtension containing NSExtensionPointIdentifier only. So, I got this error, added one of the keys and it didn't work so I removed them and it all worked fine. I know this is probably a rubbish response, but it works as it is now without those keys, so maybe try it?
Topic: App & System Services SubTopic: General Tags:
Oct ’23
Reply to Padding Issue in SwiftUI Widgets
Without an image of what you're describing, this looks like you need to add .contentMarginsDisabled() on your WidgetConfiguration: struct WidgetExtension: Widget { var body: some WidgetConfiguration { AppIntentConfiguration( kind: "kind", intent: MyIntent.self, provider: TimelineProvider() ) { entry in WidgetEntry(entry: entry) } .configurationDisplayName("display name") .description("description") .supportedFamilies([.accessoryCircular, .accessoryInline, .accessoryRectangular, .systemSmall, .systemMedium]) .contentMarginsDisabled() // <--- THIS } }
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’23
Reply to Error versión
You're going to have to provide way more information than you have already. What is the current version on the App Store? Is it below the version you're trying to add? As the error message suggests, maybe try again later? Also, please don't add unrelated tags to your forum posts. What does this have to do with "xcselect", "Beta", "Prototyping" or "Scribble"?! If there's no tag for your actual issue, it's likely you're posting this in the wrong place.
Oct ’23