I had the same problem updating Xcode. Solve just logging back into Xcode.
- Open Xcode
- Open the project’s Runner.xcworkspace file
- Log into Xcode at: “Signing & Capabilities” -> “All” -> “Signing”
Item 3 was my problem. When updating Xcode, I was logged out.