-
Notifications
You must be signed in to change notification settings - Fork 15
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
error : [!] xchtmlreport binary not installed! #2
Comments
@pradyhk I had similar problem, for me the Btw. this tool doesn't currently work with Xcode 11 (XCTestHTMLReport/XCTestHTMLReport#137) |
@lawicko so that issue you linked has been resolved/merged, but I'm still getting this same problem. Are you using a CI/CD service - if so, how'd you install the Xcode command line tools? |
@jordan-romeroporter-earnin The issue I linked has nothing to do with this issue, I just put it there for people to know that it was broken.
and then run it - I use fastlane with the plugin, so I didn't have to change anything else. It now works correctly with Xcode 11. |
@lawicko OK I was using the cURL - perhaps that's the issue? I am also using the fastlane with the plugin, which is why this is confusing UPDATE: Doesn't seem like changing it to brew install helped either. The installation is successful but I'm still getting that same response. Using Xcode 11.1, incase that matters.
|
@jordan-romeroporter-earnin in this case I don't think I have the answer for you. To me it looks like you did everything similar to how I did it. What does it say when you do |
@lawicko here's what it says: |
OK So something I noticed is that even when I don't get that anymore, this doesn't save it in the fastlane directory like it said .. Here's what I got in the fastlane directory after running that command I mentioned above:
|
Hi @pradyhk and @jordan-romeroporter-earnin , were you able to get xchtmlreport working properly on CircleCI? When I ruin my tests via Fastlane locally, everything works as expected and the report is generated. However, when I run the tests on Circle and try to display the .html report in the artifacts tab, I'm getting a failure after I'm getting the same failure that you reported earlier: I even tried adding a direct path to the xchtmlreport binary as the documentation says can be done, but it didn't help. (Unless the binary is not at Was the test report being generated for you as expected when you ran the tests locally? Or did you only see the issue on Circle CI? Edit: This happens whether the tests pass or fail. I've seen other posts about issues that occur only when tests fail, but this happens either way. Edit 2: I wasn't installing XCHTMLReport on the build machine. (That'll do it!) I added the following to my CircleCI config file as part of my build steps:
|
@ChiWhiteSox56 Even after adding the commands, I'm facing the same issue. Is there anything I need to do differently? |
I'm not sure why doc says that default location is Thus default behaviour doesn't meet my needs, probably I need to use Maybe if I'd use Home-brew to install XCTestHTMLReport, it would've ended up in default location. |
@nezhyborets did you fix this? I am facing similar issues ... (Different installation method & other environment variables outside of my control) Thinking about raising a Issue around this as the installation path is hard coded as opposed to relying on the terminal to link this properly. |
I used |
I had the same issue.
I used Homebrew and it installed it in But at least that is better than in But I changed it to use the EDIT: I think the issue was just that I wasn't specifying the full path (i.e. need On our CI the location was actually different for some reason, so I just updated my Fastfile to lookup the location:
|
Today I'd this issue and my fix was:
The brew_path is finding xctesthtmlreport and the binary is xchtmlreport I hope help you |
After adding gem 'fastlane-plugin-xchtmlreport' in plugin file and running below commands succesfully,
brew install https://raw.githubusercontent.com/TitouanVanBelle/XCTestHTMLReport/develop/xchtmlreport.rb
and
fastlane add_plugin xchtmlreport
I am getting this error : [!] xchtmlreport binary not installed! https://github.com/TitouanVanBelle/XCTestHTMLReport
The text was updated successfully, but these errors were encountered: