Attempt to rename [value1] to [value2] failed
During the signing process, the signing tool makes a copy of the input .bar file. After the tool signs the copy of the .bar file successfully, the copy is renamed to the original input file name and the original file is deleted. This error indicates that one of these rename operations failed.
Make sure that you have permissions to change files in the folder where your .bar file is stored.