John
John

Reputation: 51

Xcode 11.4.0 stalling running Unit Tests

After upgrading from Xcode 11.3.1 to Xcode 11.4.0, unit tests are no longer running in the Xcode IDE, however they do run when executing via xcodebuild in terminal (which is pretty annoying for incremental development and testing).

I've already tried completely deleting Xcode and ~/Library/Developer/, and re-installing Xcode, but that did not help. Any suggestions as to what might be wrong with the state of my machine?

Edit: clarifying 'stalling' When running from Xcode, the app opens, then nothing shows up in the console, so it looks like the rest runner is doing nothing. About half the time, the only activity in the console will be after 1-2 minutes there will be a crash * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP, but the other half there is no crash and the app just stays open.

Again this does not happen with xcodebuild

Upvotes: 1

Views: 461

Answers (1)

John
John

Reputation: 51

After further investigation, antivirus on my workstation was quarantining the test process as a threat, which is why it was not starting (and sometimes the process was being killed). Something to check if you see this.

Upvotes: 2

Related Questions