"Do you want to allow this page to open "(null)"?" Error is seen when launching External apps through Safari Protocol handler

Hi,


We are running a custom application which can be invoked from the Browsers through Protocol Handler. We are currently seeing an issue with latest Safari version 10.0 where we see the following popup "Do you want to allow this page to open "(null)"?" when launching the app.

We have seen that Safari 10 has introduced this popup and we are fine with that. When we install our app on a fresh Mac machine where it was never installed before, we get the popup "Do you want to allow this page to open "<Our App Name>"?" which means it is looking at our app name and displaying it correctly. But on a machine, where our app was previously installed, it always shows null.

We have tried changing the Info.plist and InfoPlist.Strings properties to ensure that our App name is present, but it is just not taking it. We also removed all older references of our app from ~/Library/Developer/Xcode/DerivedData, but even that is not helping.

Can somebody point out what exact variable or value in our app is being read by Safari to display the App name in the popup? And what steps do we need to take to remove any older references if there is a Conflict. Would really appreciate any help here as we are stuck with this issue and the solutions we have seen posted on many public forums are not helping.


Thanks and Regards

Vikas

Replies

We are having the same issue - have you found a solution for this?