Xcode 9 GM - Failed to create target code sign properties mapping, error

Just to highlight this again, generating the mapping in Xcode works as a “workaround” :

That’s exactly what Xcode does when you archive on your Mac, and what the Xcode Archive step tries to generate (the signing mapping config).