A way to avoid the problem above is use the strict equality operator that considers the type of the data you are trying to compare to assert the equality. But the problem continues if you need to do something a little bit more complex.
It`s a common trouble in iOS development to build an application that has more-than-one-word name because the Apple OS remove blank spaces since its 11 version for longer names (more than 12 characters), as discussed here: https://developer.apple.com/forums/thread/77832.
But with a 2 minutes Google search you`ll find some Stack Overflow answer saying that you should replace normal space with ' ' in Info.plist at CFBundleDisplayName key. This situation happened with me, but when I opened the .plist file with BBEdit I saw this:
I am developing a white label app with some targets, that I build with different assets (and names) depending…
Desenvolvedor Web e Mobile. Falando sobre coisas legais