We have found problem with Instruments and Simctl agree on the simulator count test, this test randomly fails, but always pass when we run single test.
It fails because xcode instruments simulators count is cached and not equal xcode simctl simulators count.
As fix we have initialized new instances of classes Instruments and Simctl to avoid caching.
Note: this issue randomly reproduces on all xcode versions.
We have found problem with
Instruments and Simctl agree on the simulator count
test, this test randomly fails, but always pass when we run single test.It fails because xcode
instruments
simulators count is cached and not equal xcodesimctl
simulators count.As fix we have initialized new instances of classes
Instruments
andSimctl
to avoid caching.Note: this issue randomly reproduces on all xcode versions.