Post

Replies

Boosts

Views

Activity

WidgetEntryPointFactory' does not conform to `NonUIEntryPoint` when previewing watch widget
Following the sample notes at https://developer.apple.com/documentation/widgetkit/creating-lock-screen-widgets-and-watch-complications, when I try to preview the Watch widget, I get an error saying: Cannot preview in this file WidgetEntryPointFactory' does not conform to NonUIEntryPoint 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 187: update> App widgets preview fine though. Am I doing something obviously wrong?
8
2
2.3k
Jul ’22
Dynamically compile shader and access it through SwiftUI's ShaderLibrary
Is it possible to dynamically compile a shader (at runtime) using something like MTLDevices makeLibrary, and convert that over to a SwiftUI ShaderLibrary? In theory it looks like it should be possible - ShaderLibrary can be initialised with a data parameter which according to the docs is a compiled shader library, but I'm not sure how I'd go about converting a MTLLibrary to data. Is this possible at all?
0
1
529
Jul ’23
Unable to connect to other Macs running Big Sur (beta 5) using File Sharing
When trying to connect to another Mac running Big Sur (beta 5) using file sharing (smb or afp), it won't accept the username/password. The dialog just shakes and won't connect. I could connect from a Mac running Bug Sur to another Mac running Catalina fine but not the other way around. Anyone got a workaround? Reported as FB8520247
Replies
13
Boosts
0
Views
4.5k
Activity
Feb ’22
WidgetEntryPointFactory' does not conform to `NonUIEntryPoint` when previewing watch widget
Following the sample notes at https://developer.apple.com/documentation/widgetkit/creating-lock-screen-widgets-and-watch-complications, when I try to preview the Watch widget, I get an error saying: Cannot preview in this file WidgetEntryPointFactory' does not conform to NonUIEntryPoint 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 187: update> App widgets preview fine though. Am I doing something obviously wrong?
Replies
8
Boosts
2
Views
2.3k
Activity
Jul ’22
Dynamically compile shader and access it through SwiftUI's ShaderLibrary
Is it possible to dynamically compile a shader (at runtime) using something like MTLDevices makeLibrary, and convert that over to a SwiftUI ShaderLibrary? In theory it looks like it should be possible - ShaderLibrary can be initialised with a data parameter which according to the docs is a compiled shader library, but I'm not sure how I'd go about converting a MTLLibrary to data. Is this possible at all?
Replies
0
Boosts
1
Views
529
Activity
Jul ’23