We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have been using XCode 14 and xcov to report coverage, it was working fine until we moved to Xcode 16. Gemfile has the following,
gem 'xcov', '1.8.1' gem 'danger' gem 'xcresult', '0.2.2'
And how I generate report,
xcov( workspace: "NetworkPolling.xcworkspace", scheme: "Local", include_targets: "Network.app", include_test_targets: false, output_directory: outpul_directory, derived_data_path: "build/fastlane/derived_data", ignore_file_path: ignore_file_path, json_report: true, skip_slack: true, )
Output is
INFO [2024-10-07 08:48:23.70]: $ xcodebuild -showBuildSettings -workspace NetworkPolling.xcworkspace -scheme Local -derivedDataPath build/fastlane/derived_data 2>&1 ++ | xcov Coverage Report | ++ ++ INFO [2024-10-07 08:48:29.42]: Feature: Local ERROR [2024-10-07 08:48:29.42]: Network: 0.00% (below minimum coverage of 70.0%) INFO [2024-10-07 08:48:29.42]: Successfully generated documentation at path '/Users/<USERNAME>/Git/Network/fastlane/README.md'
If I try the same with legacy_support: true
then the output is like this,
INFO [2024-10-07 08:59:59.74]: ▸ Loading... INFO [2024-10-07 08:59:59.76]: ▸ ------ xcov-core ------ INFO [2024-10-07 08:59:59.76]: ▸ Opening .xccoverage file at path: /Users/<USERNAME>/Git/Network/build/fastlane/xcov_output/Network/xccovreport-0.xccovreport INFO [2024-10-07 08:59:59.80]: ▸ Parsing .xccoverage file... INFO [2024-10-07 08:59:59.80]: ▸ Caught: NSInvalidArgumentException: -[_NSInlineData countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x7fc6c880fa00 ------ xcov-core ------ Opening .xccoverage file at path: /Users/<USERNAME>/Git/Network/build/fastlane/xcov_output/Network/xccovreport-0.xccovreport Parsing .xccoverage file... Caught: NSInvalidArgumentException: -[_NSInlineData countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x7fc6c880fa00 ERROR [2024-10-07 08:59:59.80]: Exit status: 1 ERROR [2024-10-07 08:59:59.80]: Failed to execute xcov: Error creating your coverage report - see the log above INFO [2024-10-07 08:59:59.80]: Successfully generated documentation at path '/Users/<USERNAME>/Git/Network/fastlane/README.md'
The text was updated successfully, but these errors were encountered:
We are seeing the same thing 😕 ... did you make any headway?
Sorry, something went wrong.
No @stephengilroy-grx . Still the same.
No branches or pull requests
I have been using XCode 14 and xcov to report coverage, it was working fine until we moved to Xcode 16.
Gemfile has the following,
And how I generate report,
Output is
If I try the same with legacy_support: true
then the output is like this,
The text was updated successfully, but these errors were encountered: