Fails with Failed to compute path to baseline file during test run spec construction

I have a few projects in an xcode workspace and their test suite runs successfully from xcode UI.

When running from terminal, tests also pass, but all test runs show the error below.

While searching for an answer, I can't seem to find this error anywhere except on this github issue - exact same error.

They seem to think it's related to timezones.

Any ideas?

2021-06-15 10:43:34.169 xcodebuild[23016:11700744] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18205/IDEFoundation/Testing/IDETestRunSpecificationBuilder.m:678
Details:  Failed to compute path to baseline file during test run spec construction: <XCTHTestRunSpecification: 0x7fc0f2135d10>
Object:   <IDETestRunSpecificationBuilder>
Method:   +testRunSpecificationsForTestingSpecifiers:scheme:buildables:withBuildParameters:additionalEnvironmentVariables:additionalCommandLineArguments:testRerunPolicy:includeClangProfileParameters:shouldDebugAppExtensions:error:
Thread:   <NSThread: 0x7fc0ea41a760>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.


... <REDACTED> ...




         Executed 9 tests, with 0 failures (0 unexpected) in 0.008 (0.013) seconds
2021-06-15 10:43:36.413 xcodebuild[23016:11700744] [MT] IDETestOperationsObserverDebug: 0.985 elapsed -- Testing started completed.
2021-06-15 10:43:36.413 xcodebuild[23016:11700744] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2021-06-15 10:43:36.413 xcodebuild[23016:11700744] [MT] IDETestOperationsObserverDebug: 0.985 sec, +0.985 sec -- end

Test session results, code coverage, and logs:
        /Users/REDACTED/Library/Developer/Xcode/DerivedData/abbi-gmmaphqilqlepberuzixuqprsano/Logs/Test/Test-AbbiResidentSimulator-2021.06.15_10-43-34--0700.xcresult

** TEST SUCCEEDED **

macos 11.4 xcode 12.5 (12E262) Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) Target: x86_64-apple-darwin20.5.0

  • I'm seeing the same - ever since we updated to macOS Big Sur and Xcode 12.5. Still happens in Xcode 12.5.1 and Xcode 13 beta 1.

Add a Comment

Replies

same issue on macOS Big Sur 11.2.3, Xcode 12.5.1.

I have this problem too. I'm having a lot of trouble.

I am having same issue too.

Same iissue here. Big Sur Xcooode 12.5.1

Same issue while using Fastlane snapshot. macOS 11.5.2, Xcode 12.5.1