Swift UI Preview is not working on any of the sample projects

I’m getting the following error. I’m running xCode 11.3.1. Have tried restarting xCode, deleting derived data, etc with no success. Does anyone have a workaround for this.

CrashOnLaunchError: RGBullsEye app crashed on launch

The app “RGBullsEye” crashed while updating the preview. Look for crash logs in ~/Library/Logs/DiagnosticReports for more details.

==================================

| Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 “The request to open “com.raywenderlich.RGBullsEye” failed.” UserInfo={BSErrorCodeDescription=RequestDenied, NSLocalizedDescription=The request to open “com.raywenderlich.RGBullsEye” failed., NSUnderlyingError=0x7fbb50ac1f90 {Error Domain=NSPOSIXErrorDomain Code=89 “Operation canceled”}, FBSOpenApplicationRequestID=0x57dc, NSLocalizedFailureReason=The request was denied by service delegate (SketchBoard.SketchBoardSystemService).