No, these two properties should not coincide, I had no problems with this, just like you, I had the identifier of my application - CFBundleIdentifier - set to com.djp.myapp and the URL schemes set with CFBundleURLName set to Nothing. like.the.identifier and a CFBundleURLSchemes as abcd .
I could open this application by calling: abcd://
The only thing I can think of may create a problem for you if you run the application with the installed URL schemes and during testing you change your package identifier ( CFBundleIdentifier ), thereby actually creating 2 applications in the system. In this case, you will have a conflict of the URL scheme, and Apple will declare that there is no process to determine which application will be prioritized.
Note If more than one third-party application is registered to process the same URL scheme, there is currently no process for determining which application will provide this scheme.
Also, as far as I have tested and tested, if you have two conflicting applications, this is the first installed one that is used, and when this application is uninstalled, the second application, which is now the only application that supports a specific URL scheme, is not yet used.
This indicates that url schemes are registered in the system during installation, and to work on these schemes, a new installation of this application is required.
Learn more about URL schemes in the Apple Advances App Tricks .
source share