CodeSign error: Certificate identity \'iPhone Developer: XXXX (12345678)\' appears more than once in the keychain. The codesign tool requires there only be one.
It's very easy, export the correct Certificate to your desktop. Delete that Certificate
in the keychain. Try to build source with error message (have no cert..)
Then import again the certificate. => Success!