macOS Sequoia: “App” would like to access data from other apps when launched from Xcode

Since updating to macOS Sequoia, I see this dialog every time I launch my SwiftUI macOS app from Xcode:

Users who installed the app from the App Store don’t see it. And this didn’t happened in previous macOS versions.

Could launching it from Xcode be triggering some extra access requirement? How can I stop this dialog from appearing every time I launch my app? It’s very disruptive to the debugging process.

macOS Sequoia: “App” would like to access data from other apps when launched from Xcode
 
 
Q