-
Notifications
You must be signed in to change notification settings - Fork 132
Closed
Description
Hello,
I have an issue with xchtmlreport execution when testing using Xcode 16 beta 3 & 4.
In detail, index.html from xchtmlreport command is completely blank even though there exists a .xcresult file.
Here is what I get when executing xchtmlreport with full normal .xcresult file:
# Same thing happens when using Xcode 16 beta 4 as DEVLEOPER_PATH
$ DEVELOPER_DIR=/Applications/Xcode_16_beta_3.app ./xchtmlreport fastlane/test_output/myapptest.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.
Warning: Can't find invocation record for : fastlane/test_output/myapptest.xcresult
Report successfully created at /path/to/source/fastlane/test_output/index.html
The screenshot above is index.html after the command executed.
As you see, it is completely blank.
Works well when using Xcode 16 beta 2
$ DEVELOPER_DIR=/Applications/Xcode_16_beta_2.app ./xchtmlreport fastlane/test_output/myapptest.xcresult
Warning: Can't find test reference for action Build "myapptest"
Warning: Can't find test reference for action Build "myapptest"
Warning: Can't find test reference for action Build "myapptest"
Warning: Can't find test reference for action Build for Testing "myapptest"
Report successfully created at /path/to/source/fastlane/test_output/index.html
(Some warnings shown up but HTML report itself is normal)
I found the fact out that XCTestHTMLReport is using XCResultKit derived from the fork of the original,
which has been updated along with Xcode 16 beta releases.
Here is the diff between original XCResultKit and the fork, which is a dependency of this repository.
Hope this one fixed soon. Thanks in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels