enable build phase and handle xml files for xunit