You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observe the following error in the logs when running a test target with Xcode 16
Error: This command is deprecated and will be removed in a future release, --legacy flag is required to use it.
Usage: xcresulttool get object [--legacy] --path <path> [--id <id>] [--version <version>] [--format <format>]
See 'xcresulttool get object --help' for more information.
$ xcrun xcresulttool get --format json --path 'path/to/test.xcresult'
Error: This command is deprecated and will be removed in a future release, --legacy flag is required to use it.
Usage: xcresulttool get object [--legacy] --path <path> [--id <id>] [--version <version>] [--format <format>]
See 'xcresulttool get object --help' for more information.
and the same for xcrun xcresulttool export ...
As the error message suggests, adding --legacy flag resolves the error
I observe the following error in the logs when running a test target with Xcode 16
The error originates from here
xctestrunner/xctestrunner/test_runner/xcresult_util.py
Line 111 in b7698df
I can reproduce the error by manually running
and the same for
xcrun xcresulttool export ...
As the error message suggests, adding
--legacy
flag resolves the errorThe text was updated successfully, but these errors were encountered: