Xcode: Makefile target path escaping and quoting also needed
Since Xcode uses Makefiles, some of the handling done in the Unix Makefile generator is also necessary in the Xcode generator. In particular, special characters in dependencies and targets need to be escaped or quoted.
The problem is solved beautifully for the Unix Makefile generator by !4605 (merged) This needs to be ported to the Xcode generator.
(Use case: CMake is used for the QGIS project. I seem to be the first person to try to generate an Xcode project instead of Unix Makefiles for QGIS. The project includes several filenames containing $ or = characters. When CMake generates for Xcode, the files generated in the CMakeScripts directories do not replace $ with $$ or = with $(EQUALS).)