Skip to content

Commit 8e7ccfa

Browse files
committed
fix
1 parent 27938ab commit 8e7ccfa

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

scripts/build.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff 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
934934
fi
935935

936936
if [ "$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"
943938
fi
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-
951940
if [ "$METAMASK_ENVIRONMENT" == "production" ]; then
952941
echo "RELEASE SENTRY PROPS"
953942
checkAuthToken 'sentry.release.properties'

0 commit comments

Comments
 (0)