I have a macOS application which I distribute in an installer .pkg. Both app and installer are notarized. The application is set to use a custom URL.
Now, with the upgrade to Catalina, when the application is installed through the installer, it cannot open custom URL, an alert is shown with 'There is no application set to open the URL ://'.
The strange fact is, if I run the application outside the installer, so simply drag and drop to the application folder, it works without any issue and open the custom URL.
Any idea of what is going on?
I suspect that notarisation is a red herring here, and that the real issue relates to the installer. If you run
lsregister on the newly installed app, does the custom URL scheme start working?
$ lsregister -f /Applications/Your.app
Note You can find
Also, make sure you test this on a fresh machine. I generally do this sort of thing in a fresh VM, restoring to a snapshot between each test so that I get consistent results.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"