Just happened to me trying to make a new build with a very small change (hide a subscription option by commenting out a dictionary entry).
The project is a react-native one which uses expo with the bare workflow.
Things which have changed since the last successful release:
New computer with m1 processor
Xcode 13 (was 12.5)
Different node version, ruby and python.
There are no errors on build, and it's running fine in debug as well as release mode on devices (plugged to the computer to install with Xcode)
Also tried by running Xcode with Rosetta, and making a new distribution/provisioning profile (automatic and manual signing) with no success.
Didn't try Xcode 12.5 or other means of distribution like Ad-hoc with Firebase yet.