I am using canOpenURL to open the app if installed in the device. And added the LSApplicationQueriesSchemes to whitelist the Schemes. But when canOpenURL returns false It always prints out an unnecessary error message in the console log. Below is the error message I receive.
-canOpenURL: failed for URL: "XXXX://XXXXXXXXXXXXX" - error: "The operation couldn’t be completed. (OSStatus error -10814.)
As I am using multiple schemes in my application, and my customer does not want these error message logs. Is there any way I can avoid printing these warning/log message to console.
This is the radar link(similar issue). Its closed without any solution.
Currently I am using iOS 11. Any help will be appreciated.