This error comes up after archiving
"A file with the name “0D43A9F9-2A23-386C-9568-E0D28099B3D5.bcsymbolmap” already exists. To save the file, either provide a different name, or move aside or delete the existing file, and try again."
It is pertinent to note that I have another app with same name, bundleID and Team on the same Mac which I have archived successfully and published over the year.
Using Xcode 14.3 in an M1 mac.
I get the Archive Succeeded message but never get to proceed to see my archived build. This error is due to the pods framework installation in my project. These lines of code in my framework.sh file can help shed more light on the issue.
if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then
# Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied
find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do
echo "Installing $f"
install_bcsymbolmap "$f" "$destination"
rm "$f"
done
rmdir "${source}/${BCSYMBOLMAP_DIR}"
fi
I have tried cleaning my build folder, deleting my existing archived files, cleared memory space, googled solutions, deleted derived data, tried all possible word combination search on Stack Overflow even tried AI suggestions. I have also tried the error suggestion of deleting the file, it regenerated on archiving again and throws the same error.
I expected to find solution and archive successfully but I never found a similar error been reported and solved.
remove it and redownload the framwork use pods