Fix automatic detection of Xcode projects with special characters in the path

Special chars in path prevent the xcodeproj file to be found automatically
Closes #2852.