I have a Cocoa application in development that lets the user take a screenshot. The application uses the CGWindowListCreateImage function to take desktop screenshots. Under macOS 15, when I launch the application and let it take a desktop screenshot, System Preferences lauches itself and and adds my application to Security & Privacy > Screen Recording > Privacy. So my question is Do I need to add a privacy key to the Info list? If I check the Info list, I don't find any privacy key related to screen recording.
Mucho thankos.