Error restoring cache after updating Xcode version to 12.0.1

Hey everyone, I haven’t posted before so sorry if my format is off.

I recently updated the Xcode version in my config.yml file to 12.0.1 to comply with apples updated policy. After updating from Xcode 11.4.0 to 12.0.1 my circle job fails at restoring cache with error:

Error untarring cache: Error extracting tarball /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/T/cache566626586 : usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/11.0: Can't replace existing directory with non-directory tar: Error exit delayed from previous errors. : exit status 1

If I bump the xcode version back to 11.4.0 it works fine.
I havent been able to find any relevant threads with this error so i thought id post myself.

Any feedback would be greatly appreciated thank you!