Altool error code 1 is:
Validation failed. Invalid Code signing entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. the bundle contains a key that is not included in the provisioning profile: beta-reports-active in payload/your.app
Please upvote this bug report for MS to improve their error report, regarding "appstore bundle validation failed altool exited with code 1