In the past, I was usually doing those changes by editing directly the Xcode files.
For WebCore at least, this is usually ok by doing copy-and-paste existing lines, changing the IDs a bit.
Each file usually needs two IDs which are close but different, needs to be a bit cautious about that. This patch could serve as a template somehow.