Strange Widget error since upgrading to Xcode Version 12.0 beta 6 (12A8189n)

Hi,
My widget has been working flawlessly until upgrading to the above beta. Now I get:

"Type 'Provider' does not conform to protocol 'TimelineProvider'"

But it has been until this version of Xcode. Attached is my code.

Thanks for the help
Dan Uff

Hi!

There has been an API change in recent beta. Namely the there are now three methods in TimelineProvider you need to implement:
getTimeline
getSnapshot
placeholder

Are you missing any of these implementations? https://developer.apple.com/documentation/widgetkit/timelineprovider
I had to rearrange some code for the widget to work again.

Thanks for the help.
Strange Widget error since upgrading to Xcode Version 12.0 beta 6 (12A8189n)
 
 
Q