File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -448,7 +448,7 @@ generateIosBinary() {
448448 xcodebuild -workspace MetaMask.xcworkspace -scheme $scheme -configuration $configuration -sdk iphonesimulator -derivedDataPath build
449449 fi
450450
451- if [ " $IS_DEVICE_BUILD " = " true" ] || [ -z " $IS_SIM_BUILD " ]; then
451+ if [ " $IS_DEVICE_BUILD " = " true" ] || [ " $IS_SIM_BUILD " != " true " ]; then
452452 echo " Binary build type: Device"
453453
454454 # When PROFILE=development, override the signing settings so a Release
@@ -934,20 +934,9 @@ if [ "$PLATFORM" != "expo-update" ]; then
934934fi
935935
936936if [ " $METAMASK_ENVIRONMENT " == " e2e" ]; then
937- if [ " ${IS_BROWSERSTACK_BUILD:- false} " != " true" ]; then
938- # Build for simulator (local/CI emulator). BrowserStack builds target real devices, so skip this.
939- export IS_SIM_BUILD=" true"
940- fi
941- # Ignore Boxlogs for E2E builds
942937 export IGNORE_BOXLOGS_DEVELOPMENT=" true"
943938fi
944939
945- # BrowserStack builds target real devices: override IS_SIM_BUILD=true that loadBuildConfig may
946- # have set from the generic main-e2e config (which uses IS_SIM_BUILD=true for emulators).
947- if [ " ${IS_BROWSERSTACK_BUILD:- false} " = " true" ]; then
948- export IS_SIM_BUILD=" false"
949- fi
950-
951940if [ " $METAMASK_ENVIRONMENT " == " production" ]; then
952941 echo " RELEASE SENTRY PROPS"
953942 checkAuthToken ' sentry.release.properties'
You can’t perform that action at this time.
0 commit comments