Post

Replies

Boosts

Views

Activity

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 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