-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
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
no implicit conversion of nil into String (TypeError) #341
Comments
Getting the same issue. Any insight to fix this issue? I am using ruby 2.2.5. |
This will happen if slather can't find any Coverage.profdata files. If you look at For Xcode 7/8 it's looking for a CodeCoverage directory, for Xcode 9 it's looking for a ProfileData/ directory. |
Thanks. I was able to resolve this. I am using Xcode 8.3 but it is pointing to Xcode 9 build tools. Once I change that in preference section, it started working. |
Hi all, it seems I have the same problem!
Thank you very much! |
O man... I found the reason: Xcode does not create the Coverage.profdata until the post-action-script is done. (puke). But I think slather should throw a correct error message... thank you! |
As a solution I run the slather-command in background (appending
|
I'm having the same issue on Jenkins. Running it locally everything works fine. Any solution ? |
It may be the python version local versus remote?
Perhaps something is nil when it’s not expected to be?
Just grabbing at straws....
… On Nov 1, 2017, at 12:30 PM, Milos Jakovljevic ***@***.***> wrote:
I'm having the same issue on Jenkins. Running it locally everything works fine. Any solution ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@milos1290 this happens when the |
Are there no solutions for this? |
Make sure to set "--workspace" if you're using the workspace, slather coverage -s --scheme docdoc --workspace docdoc.xcworkspace docdoc.xcodeproj |
Show "No coverage directory found." instead of "implicit conversion nil into String" #341
I'm still having this problem. Solutions for this? |
This error has been clarified to show that slather can't find a coverage directory in 2.4.7. |
had troulbes similar to this SlatherOrg/slather#341 short look around revealed there is a `slather` fastlane action. replaced it with the custom `sh` action (which is called bevor test manages to export the needed coverage data for slather) and tweaked settings to work conveniently in dev environment.
I'm getting the following error when I try and run slather:
Here's my .slather.yml:
The text was updated successfully, but these errors were encountered: