I am trying to upload a signed ipa file to the app store but I keep receiving an error message saying:
ITMS-90035: Invalid Signature - A sealed resource is missing or invalid. The file at path [Inuttut.app/Inuttut] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate.
I'm building the app with Cordova/Ionic 3. I have a valid Distribution signing certificate and provisioning profile for the app. I have triple checked that the bundle id is correct, and I have also set the Xcode build to use the legacy build.
One thing that has me wondering is that when I'm in Xcode and select "Automatically manage signing" it sets my signing certificate to iPhone Developer instead of iPhone Distribution. Signing the app this way and uploading it produces the same error as unchecking "Automatically manage signing" and manually selecting the iPhone Distribution certificate.