Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eas submit] Add missing iOS error messages #125

Merged
merged 4 commits into from
Dec 14, 2020

Conversation

barthap
Copy link
Contributor

@barthap barthap commented Dec 7, 2020

Why

Fixes #115

How

  • Fixed the "Redundant Binary Upload" error handling was missing in CLI

  • Added error handling for (https://github.com/expo/turtle-v2/pull/341):

    • Missing App Icon (TMS-90022, ITMS-90704)
    • Invalid App Signature (ITMS-90034) - seems to happen when Distribution Cert, tied to app Provisioning Provile, is revoked

Test Plan

Tested manually:
Screenshot 2020-12-10 at 13 06 51

@barthap barthap marked this pull request as ready for review December 10, 2020 12:08
packages/eas-cli/src/submissions/utils/errors.ts Outdated Show resolved Hide resolved
packages/eas-cli/src/submissions/utils/errors.ts Outdated Show resolved Hide resolved
@@ -28,14 +32,30 @@ const SubmissionErrorMessages: Record<SubmissionErrorCode, string> = {
[SubmissionErrorCode.ANDROID_MISSING_PRIVACY_POLICY]:
'The app has permissions that require a privacy policy set for the app.\n' +
`${learnMore('https://expo.fyi/missing-privacy-policy')}.`,
[SubmissionErrorCode.IOS_OLD_VERSION_CODE_ERROR]:
"You've already submitted this version of the app.\n" +
'Versions are identified by Build Numbers (expo.ios.buildNumber in app.json).\n' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can link to a FYI page here instead, so it's easier to update and provide information about how to do this in managed and bare contexts

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, however I haven't changed this message to reflect the already-existing Android counterpart:
https://github.com/expo/eas-cli/blob/main/packages/eas-cli/src/submissions/utils/errors.ts#L23-L27

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, we should follow up and change that on the android side. i think it's because we wrote the android side prior to eas-cli existing

@barthap
Copy link
Contributor Author

barthap commented Dec 14, 2020

Added a FYI page for bumping iOS version number message: expo/fyi#19

@github-actions
Copy link

Size Change: -456 B (0%)

Total Size: 42.5 MB

Filename Size Change
./packages/eas-cli/dist/eas-linux-x64.tar.gz 42.5 MB -456 B (0%)

compressed-size-action

@brentvatne brentvatne merged commit 1094d3f into main Dec 14, 2020
@brentvatne brentvatne deleted the @barthap/submit/messages branch December 14, 2020 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[eas submit][ios] no app icon error message needs improvement
2 participants