diff options
author | Sergio Campama <kaipi@google.com> | 2017-01-23 14:37:28 +0000 |
---|---|---|
committer | Laszlo Csomor <laszlocsomor@google.com> | 2017-01-23 15:15:39 +0000 |
commit | 94f0a25d22c3a51e76cd56a711902500d1d7a8ad (patch) | |
tree | 487bdd851e61846d1cb808b5c1e2729126e5eea7 /tools/objc | |
parent | f63ea7a5e00eb86ba8caa3db8bcb586abea70ac4 (diff) |
Makes the ios runner script open the simulator in the foreground as opposed to behind the terminal when using blaze run ios_app_target.
--
PiperOrigin-RevId: 145279294
MOS_MIGRATED_REVID=145279294
Diffstat (limited to 'tools/objc')
-rw-r--r-- | tools/objc/ios_runner.sh.mac_template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objc/ios_runner.sh.mac_template b/tools/objc/ios_runner.sh.mac_template index f28b7e7f35..f96ff38420 100644 --- a/tools/objc/ios_runner.sh.mac_template +++ b/tools/objc/ios_runner.sh.mac_template @@ -133,7 +133,7 @@ fi readonly DEVELOPER_PATH=$(xcode-select -p) # Launch the simulator. -"${DEVELOPER_PATH}/Applications/${simulator_name}.app/Contents/MacOS/${simulator_name}" -CurrentDeviceUDID "${TEST_DEVICE_ID}" & +open "${DEVELOPER_PATH}/Applications/${simulator_name}.app" --args -CurrentDeviceUDID "${TEST_DEVICE_ID}" & wait_for_sim_to_boot "${TEST_DEVICE_ID}" # Pass environment variables prefixed with "IOS_" to the simulator, replace the |