#!/usr/bin/env bash

osascript -e 'launch application "Simulator"'
xcrun simctl launch --console booted com.bugsnag.iOSTestApp \
    "EVENT_TYPE=$EVENT_TYPE" \
    "EVENT_DELAY=$EVENT_DELAY" \
    "BUGSNAG_API_KEY=$BUGSNAG_API_KEY" \
    "MOCK_API_PATH=http://localhost:$MOCK_API_PORT"

#!/usr/bin/env bash

osascript -e 'launch application "Simulator"'
xcrun simctl launch booted com.bugsnag.iOSTestApp \
    "EVENT_TYPE=$EVENT_TYPE" \
    "EVENT_DELAY=$EVENT_DELAY" \
    "BUGSNAG_API_KEY=$BUGSNAG_API_KEY" \
    "MOCK_API_PATH=http://localhost:$MOCK_API_PORT"

Disable logging to the console from simulators
chore(maze): Disable logging to the console from simulators

On High Sierra, launching the app via `simctl` with the `--console`
option enabled puts the app in a state where normal code paths do not
execute. Disabling this option (or using Sierra) fixes this issue.
