We are having the same issue sadly. What we have tried:
Clean build including removing all pods
Delete Xcode derived data
Archive using Xcode 13.4.1 and Xcode 14
Uploaded multiple builds over multiple days
Distributed the archives via the "Ad Hoc" option, having all thinning options enabled as well as enabling them individually. The exported ipa can be installed on a physical phone without issue
We have now reached out to Apple support (case 101802904092) which so far has been slow and only pointed us to general doc on the app thinning process.
This issue is extremely hard to debug without a proper error message. Again, there are zero indications to any issue locally. We only receive the automated error message from appstoreconnect:
"While processing your iOS app, ............, errors occurred in the app thinning process, and your app couldn’t be thinned. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store. For information that may help resolve this issue, see Tech Note 2432."
Does anyone have any tips for what else we could try?