So I had the same issue and likewise found 0 answers online.
I fixed this issue by checking the code logs. In there I found this message.
2022-05-06 19:02:02 +0000 Step "<IDEDistributionCodesignStep: 0x7fc3c98e0fb0>" failed for distribution item "abci.bundle" with error "DVTFoundation.DVTCodeSignerError.signingFailed("/var/folders/6z/jy_wjt2d3hb9lq_62gylf28w0000gn/T/XcodeDistPipeline.~~~SrEoGT/Root/Payload/PolycoroTestApp.app/Frameworks/UnityFramework.framework/abci.bundle: unsealed contents present in the bundle root\n")"
One of the packages I had recently imported (Alembic) for some reason wasn't signed and so I could not validate of distribute my app. Specifically the bundle was abci.bundle.
I finally figured it out after finding this thread.
https://forum.unity.com/threads/code-signing-abci-bundle-failed-when-trying-to-export-archived-ipa-with-xcode.853540/
I removed the offending package (Alembic) in Package Manager and that worked.