Although all architectures are useful in some situations, when submitting an app to the App Store, you can only have
arm64 architectures. If you encounter the error "ERROR ITMS-90087: Unsupported Architectures" or "Code signing failed", it means that you're trying to submit a binary to the App Store, and that this binary has unsupported architectures inside. You have to remove the unsupported architectures (
x86_64) from the binary you're submitting. There are several approaches which are listed below.