Xcode 16.2 not running unit tests

I update my Xcode to latest 16.2. However I am unable to run the unit tests which were working fine when I used Xcode 15. Also I am using a CI/CD tools which has Xcode 15.3 and also using iOS 17.5 device to run unit tests and those are also working fine. I am getting following 3 different types of errors when I try running tests. Command SwiftCompile failed with a nonzero exit code Command SwiftEmitModule failed with a nonzero exit code PhaseScriptExecution failed with a nonzero exit code Any help how I can fix this?

Answered by umarafzal11 in 819362022

Also the current macOS version is 15.1.1

Accepted Answer

Also the current macOS version is 15.1.1

Xcode 16.2 not running unit tests
 
 
Q