signing error for xcode Mac build using Unity 2019.3

I have successfully built an xcode project Mac build using Unity 2019.3.0a7.
However, I seen to have an insurmountable problem with the signing. I keep getting the following error when attempting to archive the project:

 /Users/XXXXXXXXXX/Library/Developer/Xcode/DerivedData/XXXXXXXXX-bxswcmqhpucpzgafqchgrlykedgn/Build/Intermediates.noindex/ArchiveIntermediates/XXXXXXXXX/InstallationBuildProductsLocation/Applications/ bundle format unrecognized, invalid, or unsuitable
    Command /usr/bin/codesign failed with exit code 1

It seems to successfully sign all the frameworks, but gets stuck on the MonoBleedingEdge folder.
I already tried to put all the frameworks in “linked frameworks” instead of “embedded binaries” to no avail.
I am really stuck here.
Any help would be appreciated.

You have to upgrade to 2020 version, but then there are new problems