XCode 11 simulators thrown a warning message each time a test is run

Running any XCTest with XCode 11 Grand Master Seed 2 and iOS 13 simulators throws the below warning message:


xcodebuild[95489:2342933] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-14802/IDEiOSSupportCore/DVTiPhoneSimulator.m:1890

Details: [DVTiPhoneSimulator -primaryInstrumentsServer was called from the main thread

Object: <DVTiPhoneSimulator: 0x7f7f717c9bc0>

Method: -primaryInstrumentsServerWithError:

Thread: <NSThread: 0x7f7f71414dd0>{number = 1, name = main}

Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.


The tests keep crashing after running for some time. I am not sure if this is the root cause behind this. This issue happens a lot when running tests in parallel using xcodebuild build-for-testing & xcodebuild test-without-building. If you need any more info on this, then please let me know.

Accepted Reply

This issue has been fixed on iOS 13.2.

Replies

Have you reported it via Feedback assistent?

Yes, i did report it via Feedback Assistant (https://feedbackassistant.apple.com/feedback/7296995), but I have not heard anything about this from Apple developers. I even mentioned about this issue on stackoverflow and it seems that others are also facing this issue: https://stackoverflow.com/questions/58069679/xcode-11-simulators-thrown-a-warning-message-each-time-a-test-is-run

This issue has been fixed on iOS 13.2.