Archive build failure in Xcode 12.4

Hello I am trying to archive my product for submission to the App Store and I am coming across this error:

Could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1205.0.22.9.0_0' Reader: '1200.0.32.29_0')', using libLTO version 'LLVM version 12.0.0, (clang-1200.0.32.29)' for architecture armv7

I am building on Xcode 12.4 and on macOS Catalina 10.15.7 I am on a Mac Mini (Late 2012)

I can compile and run the project on all my devices. But archiving the product generates this error. Is there any way to resolve this issue?

Thanks in advance for any help anyone can provide.

Archive build failure in Xcode 12.4
 
 
Q