diff --git a/static/app/views/preprod/components/installModal.tsx b/static/app/views/preprod/components/installModal.tsx index 40752fb4e321ac..696601cba7a7ce 100644 --- a/static/app/views/preprod/components/installModal.tsx +++ b/static/app/views/preprod/components/installModal.tsx @@ -10,7 +10,7 @@ import {openModal} from 'sentry/actionCreators/modal'; import LoadingIndicator from 'sentry/components/loadingIndicator'; import {QuietZoneQRCode} from 'sentry/components/quietZoneQRCode'; import {IconClose} from 'sentry/icons/iconClose'; -import {t, tn} from 'sentry/locale'; +import {t, tct, tn} from 'sentry/locale'; import {space} from 'sentry/styles/space'; import {MarkedText} from 'sentry/utils/marked/markedText'; import {useApiQuery} from 'sentry/utils/queryClient'; @@ -79,6 +79,26 @@ function InstallModal({projectId, artifactId, closeModal}: InstallModalProps) { ); } + if (installDetails.codesigning_type === 'appstore') { + return ( + + {header} + + {t('This app cannot be installed')} +
+ + {tct( + 'App was signed for the App Store using the [profileName] profile and cannot be installed directly. Re-upload with an enterprise, ad-hoc, or development proifle to install this app.', + { + profileName: {installDetails.profile_name}, + } + )} + +
+
+ ); + } + if (!installDetails.install_url) { if (!installDetails.is_code_signature_valid) { let errors = null;