Widget crashing on own device - missing file

When I try and run my widget extension on my own device, Xcode builds successfully but then has a SIGABRT with the following error:

dyld: symbol '$s9WidgetKit22IntentTimelineProviderP11placeholder4with5EntryQzAA0dE7ContextVtFTq' not found, expected in '/System/Library/Frameworks/WidgetKit.framework/WidgetKit', needed by '/private/var/containers/Bundle/Application/623CCA05-986E-4D28-AACA-697F79BD600C/latitude.app/PlugIns/LatitudeWidgetExtension.appex/LatitudeWidgetExtension'

It looks like something is missing. It runs in the simulator fine but I can't get it to run on my own device
Xcode beta 3
IPhone 11 Pro

I get the same error even after cleaning the build folder and trying again
Answered by in 625815022
Hello, the method placeholder(with:) was renamed to placeholder(in:) in beta 4. If you have updated your phone to beta 4, but not your version of Xcode, you will see this error.
Hello, the method placeholder(with:) was renamed to placeholder(in:) in beta 4. If you have updated your phone to beta 4, but not your version of Xcode, you will see this error.
That worked. Thanks for the help
Widget crashing on own device - missing file
 
 
Q