In your method, setUp()delete [[[XCUIApplication alloc] init] launch];and put it in the first test that you will run.
For example,
If you have tests: testUI (), testUIPart2 (), testUIPart3 (), etc., and it works in that order, put [[[XCUIApplication alloc] init] launch];testUI () on the first line and thereβs no where else.