Be really careful about how Xcode project files are replaced.  Stage new project file contents in a temporary file, compare it to any existing file, and only replace it if the new one is different.  This avoids potentially- problematic Xcode project file reloads for no-change updates and definitely- problematic Xcode reloads of incomplete project files.
Be really careful about how Xcode project files are replaced.  Stage new
project file contents in a temporary file, compare it to any existing file,
and only replace it if the new one is different.  This avoids potentially-
problematic Xcode project file reloads for no-change updates and definitely-
problematic Xcode reloads of incomplete project files.

This technique is recommended for some other generators.

old8xp/gyp_from_google,old8xp/gyp_from_google,old8xp/gyp_from_google,old8xp/gyp_from_google,old8xp/gyp_from_google