I am also having the exact same problem. I'm actively looking for a solution as well
Post
Replies
Boosts
Views
Activity
Okay, I found a possible solution
Context:
Swift UI project
Sonoma & Xcode 15
Project files in document folder
macOS project
Under project settings -> Signing & Capabilities -> Signing -> Team I had it Set to NONE
Under project settings -> Signing & Capabilities -> Signing -> macOS -> Signing Certificate I had it Set to Sign to run locally
Solution:
Switching project settings -> Signing & Capabilities -> Signing -> Team to any development ID, for me my personal team account.
Switching project settings -> Signing & Capabilities -> Signing -> macOS -> Signing Certificate to Development
This has worked for me SO FAR, but hopefully it is helpful for anyone that stumbles on this.