In order not to kill the simulator every time after rebuild, I will kill the app before rebuild.
or you could make a script to do this job,make a key bindings to run the "kill app behavior"
script just like:
#!/bin/sh
# set you bundle identifier
bundle_id=com.***.***
# find running device
device=$(xcrun simctl list | grep 'Booted' | awk -F'[()]+' '{print $2}')
# terminate it
#xcrun simctl terminate $device $bundle_id
array=( com.Addcn.car8891 com.addcn.newcar8891 )
for i in "${array[@]}"
do
xcrun simctl terminate $device $i
done