Search code examples
xcodemacosnotarize

Why does my macOS notarization example not work?


I signed and exported my test application for the macOS notarization process. I can validate the ticket by using xcrun stapler validate

$ xcrun stapler validate /Users/user/Downloads/Test.app 
Processing: /Users/user/Downloads/Test.app
The validate action worked!

However, opening the application still triggers a warning popup. Does anyone know why? I am using the latest macOS 10.14.4 (18E226).

enter image description here


Solution

  • Everything is working correctly. There is no "warning dialog". What you are seeing is exactly the dialog one would expect to see as a result of notarization, as shown on this page:

    https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution

    enter image description here

    The dialog says that Apple has checked against malware. That is what notarization is.