Post

Replies

Boosts

Views

Activity

Reply to WidgetEntryPointFactory' does not conform to `NonUIEntryPoint` when previewing watch widget
In Xcode 14 beta 3, create a watch only app, create a widget extension: RemoteHumanReadableError: Type 'WidgetEntryPointFactory' does not conform to NonUIEntryPoint (in framework at path /System/Library/PrivateFrameworks/ChronoCore.framework/Support/WidgetPreviewsExtensionAgent.bundle) ================================== |Β  MessageSendFailure: Message send failure for <ServiceMessage 43: update>
Jul ’22
Reply to App group shared user defaults
It's new code. After sharing data with statements like following: @AppStorage("variable", store: UserDefaults(suiteName: "group.com.company.App")) var variable I don't seem to get any data shared from iOS app to watch app. Xcode 14 beta 3 gives warning: [User Defaults] Couldn't read values in CFPrefsPlistSource<0x14698af0> (Domain: group.com.company.App, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Jul ’22
Reply to Explain Map() position
It seems the behavior of fallback automatic. After initial display, setting position programmatically has no effect -- I wrote a feedback on this bug. In my app, tapping the user location button has no effect either, but I couldn't create a simple app to reproduce it.
Jun ’23