Applications with identical Product name but different Bundle ID results in Privacy panel inconsistency.
Originator: | petik3 | ||
Number: | rdar://FB9621474 | Date Originated: | Sep 13, 2021 |
Status: | Open | Resolved: | |
Product: | macOS | Product Version: | macOS 11.5.2 |
Classification: | System Preferences / Privacy | Reproducible: | Every time |
Create a simple macOS app, in ViewController viewDidLoad() add CGRequestScreenCapturePermission() Run the app, System dialog will pop up, asking for Screen Capture permission. Click Open System Preferences. Check in box next to App's product name. Choose Quit & reopen. In target settings / General, alter the bundle identifier by adding ".debug" at the end. Product / Clean build folder. Rebuild and run the project, System dialog will pop up again, asking for Screen Capture permission. Click Open System Preferences. Expected: There should be 2 entries in System Prefs / Privacy / Screen Capture for the two app with different bundle ids. Actual: On clicking Open System Preferences when the second app asks for permission, Both the original entry of the app with the same name, and the new app's name disappear from the Privacy / Screen Capture app list.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!