New privacy command doesn't support notifications

Number:rdar://FB7566372 Date Originated:02/06/2020
Status:Open Resolved:
Product:Xcode Product Version:11.4
Classification:Request Reproducible:Yes
The new simctl privacy command does not support setting the notification permission. This is a great new addition and will remove the need for 3rd party tools to set system permissions before running automated testing. The ability to set the notification permission is a necessity before running any tests that might trigger the notification request. Given that developers are encouraged to request updated permission all the time, this prompts the system alert quite frequently and is a blocker for unit and UI tests. Please consider updating this command to include the notification permission. It could be added all as one or split into notifications-local and notifications-remote to separate the different requests.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!