diff --git a/scripts/objc-test.sh b/scripts/objc-test.sh index 3ebce52e9..83835ce44 100755 --- a/scripts/objc-test.sh +++ b/scripts/objc-test.sh @@ -20,12 +20,9 @@ function cleanup { [ -f $REACT_PACKAGER_LOG ] && cat $REACT_PACKAGER_LOG fi - [ $SERVER_PID ] && kill -9 $SERVER_PID } trap cleanup EXIT -./packager/packager.sh --nonPersistent & -SERVER_PID=$! # TODO: We use xcodebuild because xctool would stall when collecting info about # the tests before running them. Switch back when this issue with xctool has # been resolved.