Preface
I want to start this question for various solutions to this problem, in general.
There are lots of questions on this topic. Most are not duplicates. However, they all only apply to particular libraries or defects. So it felt wrong to post my answer to one of these questions.
The specific subcategories of existing questions
Firebase
Flutter
These 2 are probably duplicates:
- ERROR ITMS-90208: "Invalid Bundle. The bundle <your.app> does not support the minimum OS Version specified in the Info.plist"
- Uploading flutter app to AppStore gives App.framework does not support the minimum OS Version specified in the Info.plist
Xamarin
Xcode 10
These 3 are probably duplicates:
- Invalid architectures Xcode 10
- Xcode 10 GM - Invalid Binary Architecture when submitting to App Store Connect?
- While uploading to App Store the upload failed ERROR ITMS-90081
Too Old/Irrelevant
The Question
I uploaded my app to Apple, and it was rejected. The reason Apple gave for the rejection was this error message:
This bundle is invalid. Applications built for more than one architecture require an iOS Deployment Target of 3.0 or later. With error code STATE_ERROR.VALIDATION_ERROR.90081
How do I solve this?
I will post my solution below, but there are probably several other cases that lead to this same result. And these general cases are often not related to the specific cases listed above.