title: addUIInterruptionMonitor is not getting called on macOS
body: <p>I want to test my macOS application. It uses your Macbook's camera, and want to handle this in my UITest. However I cannot get it working. Here is my NOT working code. This code triggers to notification, and I'm presented an alert to allow access to my camera, but the closure is not getting called. Thanks fo any help.</p>
  
  <p>There are many solutions for iOS, but I need it on macOS.</p>
  
  <pre><code>let alertHandler = addUIInterruptionMonitor(withDescription: "Camera Permission Alert") { (alert) -&gt; Bool in
          if alert.buttons.matching(identifier: "OK").count &gt; 0 {
             alert.buttons["OK"].click()
              self.app.click()
              return true
          } else {
              return false
          }
      }
  
      XCTAssertTrue(startButton.waitForExistence(timeout: 1.0))
      startButton.click()
  
      XCTAssertTrue(recordButton.waitForExistence(timeout: 20.0))
      recordButton.click()
      wait(for: 8)
      recordButton.click()
      removeUIInterruptionMonitor(alertHandler)
  }
  </code></pre>