Not able to run widget extension on my device

When I try and run the widget extension on my device, it either:
  • says "RUNNING.... but doesn't actually start the widget or show any log files"

or
  • crashes with this error even though I've cleaned the build file and no other device is trying to run

Details

Another launch session is already waiting to debug the app extension with identifier : com.XYZ.Widget
Domain: IDELaunchAppExtensionErrorDomain
Code: -1
  • -


System Information

macOS Version 10.15.6 (Build 19G2021)
Xcode 12.0 (17219)
Not able to run widget extension on my device
 
 
Q