Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Running any XCTest with Xcode 11 and iOS 13/12 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:

Method: -primaryInstrumentsServerWithError:

Thread: {number = 1, name = main}

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

This issue happens a lot when running tests in parallel (or a single test) using xcodebuild build-for-testing & xcodebuild test-without-building. Has anyone encountered this issue and found a fix for it?

like image 748
mark w. Avatar asked Sep 23 '19 20:09

mark w.


2 Answers

Link to source for answer https://forums.developer.apple.com/thread/123020#392637 it seems it would be solved on iOS 13.2

like image 130
Juan Carlos Ospina Gonzalez Avatar answered Oct 17 '22 19:10

Juan Carlos Ospina Gonzalez


Apple finally fixed this on iOS 13.2, so sharpen your downloading knives :)

like image 30
mark w. Avatar answered Oct 17 '22 19:10

mark w.