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.
tylervick/XCResultKit@main...davidahouse:XCResultKit:main#diff-323dfc344bcc9a79dc779a072e206692565a32efdb3c2c9e2d24c8e80cdd5e8dR126-R142
Hope this one fixed soon. Thanks in advance.
Hello,
I have an issue with
xchtmlreportexecution when testing using Xcode 16 beta 3 & 4.In detail,
index.htmlfromxchtmlreportcommand is completely blank even though there exists a.xcresultfile.Here is what I get when executing
xchtmlreportwith full normal.xcresultfile: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
I found the fact out that XCTestHTMLReport is using
XCResultKitderived from the fork of the original,which has been updated along with Xcode 16 beta releases.
Here is the diff between original
XCResultKitand the fork, which is a dependency of this repository.tylervick/XCResultKit@main...davidahouse:XCResultKit:main#diff-323dfc344bcc9a79dc779a072e206692565a32efdb3c2c9e2d24c8e80cdd5e8dR126-R142
Hope this one fixed soon. Thanks in advance.