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?