Comments (9)
Hey @Zaccc123 👋
Thanks for reporting, this one is a weird one. Can I take a look at how are you setting xcov up on your Fastfile?
from xcov.
xcov(
workspace: "wit-reader.xcworkspace",
scheme: "wit-reader-dev",
output_directory: "xcov_output",
include_targets: "wit-reader.app",
slack_channel: "#wit-integration",
slack_url: SLACK_WEBHOOK_URL
)
Hey @nakiostudio the above is my setup. By the way, great work on the this, let me know if you need more information. Cheers =)
from xcov.
Thank you @Zaccc123 !
Your setup looks good to me, does this only happen on Bitrise and not in your local machine? which xcov
and fastlane
versions are you using?
from xcov.
Yes, it happen only on Bitrise
and not my local machine. Both are using the same version, thats why I find it weird that it fail on Bitrise
.
fastlane 2.11.0
, xcov 1.0.0
from xcov.
@Zaccc123 Do you know, by any chance, what version of Rubygems (gem --version
) is used on Bitrise?
@nakiostudio I think xcov
action reaches this line and that's why we don't get back the available actions.
We had this kind of issues with Rubygems 2.6.2 which was fixed with this monkey_patch.
I think it would be helpful to have a log like
UI.important "Couldn't find 'xcov' gem specification.
in xcov
action inside of the rescue
block.
from xcov.
I believe it is 2.3.0
. I did manage to temporary solve it by installing xcov
first by using the Ruby Script plugin to run gem 'xcov'
.
The difference is that this install xcov
first rather than installing it while fastlane
running. Not sure if that would be the causes.
from xcov.
As @thelvis4 pointed out this should affect version 2.6.2
of ruby gems only. I will run some tests over the weekend 👍
from xcov.
I am not able to reproduce this scenario with Rubygems 2.3.0. I will close the ticket as you found a workaround for the problem.
from xcov.
Okay.. I will update here if I manage to find more information about it. Thanks for your time =)
from xcov.
Related Issues (20)
- [!] Could not find option 'workspace' in the list of available options: HOT 2
- Reports 0% Code Coverage with Xcode 12.5
- Exclude subset of ignored files in .xcovignore HOT 1
- xccov_file_direct_path cannot treat with multiple files
- Missing `clean: true` to delete the existing code coverage data HOT 3
- Parsing Coverage Data for Swift Packages HOT 1
- Invalid coverage report for SPM with dependencies HOT 2
- Missing git information when uploading to coveralls
- Could not find option 'xccov_file_direct_path' in the list of available options HOT 1
- Modernize HTML templates
- Fix root directory when opening files
- How can we ignore `Swift Package Dependencies` HOT 4
- Bad CPU type in executable HOT 6
- .xcovignore file not working HOT 1
- Target with no valid files is considered as having 0% coverage
- Xcov 1.8.1 : Xcov not able to find ignore file path HOT 4
- Include files (opposite of ignore)
- `PBXProject` attempted to initialize an object with unknown ISA `XCLocalSwiftPackageReference`
- "Error occured while exporting xccovreport from xcresult" when "xcov_report" folder already exists HOT 1
- When `minimum_coverage_percentage` set to `100.0` xcov fails even when actual code coverage is `100.00%`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xcov.