Random Dev Issue
This is one of those posts I’m making, not because anyone cares about it right now, but because perhaps one day someone will search the web for a solution to this error message, find this post, and be glad.
(Also, because there’s a non-zero chance that person might be me in a couple of years, once I’ve forgotten about it.)
So. If you’re trying to export .xcloc localisation files from Xcode and getting an error message “Two files will try to write translations to same path”, and you have no idea why? It might be because you have an NSLocalizedString with a tableName: parameter matching the name of a storyboard.
In other words, if you have a Main.storyboard and NSLocalizedString(“Blah”, tableName: “Main”, comment: “...”) then you’ll probably get this error.
I have no idea if this is just a temporary Xcode bug (in which case it may be fixed by the time some unlucky soul stumbles across this), or if sharing translations that way isn’t supported, but my solution was just to Not Do That, and then translation exports worked as expected.