Comments (14)
We're getting the same issue. Just started today.
from xcresultparser.
I had previously installed xcresultparser
through homebrew. If I run this through mint run
I dont get the error. You may need to install mint first:
$ brew install mint
$ mint run a7ex/xcresultparser -p my-dir -o cobertura results/result.xcresult > output/coverage.xml
from xcresultparser.
I will have a look into it later. I have no experience with mint. I always use brew. At the office now and will reply later, when I am back on "spare time" :-)
from xcresultparser.
I’m not sure why it would work with mint and not brew, my gut feeling is mint compiles from source but brew uses a precompiled binary.
Mint is great for swift command line tools though, you can pin specific versions easily, ensuring your whole team is using the same version of said tools.
from xcresultparser.
We're running into this too. I rebuilt a version of the tool locally, and it works fine, so I think you're onto something @squarefrog about it needing to be compiled from source. Super strange.
from xcresultparser.
Brew can also compile from source, but it isn't setup at the moment to do so. For comevenience it is setup to use the compiled binary, just so that CI build chains don't need to compile the thing over and over again.
Brew is setup to use the following notarized compiled app:
https://github.com/a7ex/xcresultparser/archive/1.4.2.tar.gz
As for mint compiling from source, it should do, if it does when checking out the source and compiling, right?
So I am not sure, what I can do about it?
Brew uses the MakeFile in the root of the Repo, when compiling from source. Does mint use that MakeFile? It builds a universal binary. I think that can only be done on a ARM (M1, M2) Mac.
Are you trying to do it on an Intel Mac?
from xcresultparser.
@a7ex As a test, could you rebuild and re-notarize a fresh binary of 1.4.2 and upload it here for us to try? I wonder if there's some issue with notarization or something.
from xcresultparser.
You don’t need to do anything with mint, it caches builds so don’t worry about that. Mint doesn’t use the make file. It just uses the swift tool chain to build the binary.
from xcresultparser.
The result should not be different from: https://github.com/a7ex/xcresultparser/archive/1.4.2.tar.gz
But yes, I can do that.
from xcresultparser.
Freshly built and notarized
from xcresultparser.
Well wait a second now, the homebrew version and the version downloaded from the release are working for me now… What the heck?
@alexzagu @squarefrog Are they working for you today as well?
from xcresultparser.
@hisaac I just ran the brew version (1.4.2) and it is working... it is so odd. Why would the same binary work one day and not the next day and then again 🤔 Nothing changed AFAIK. You guys have any insight?
from xcresultparser.
I've been using it solidly since last comment, so it looks like it only flopped for a day or so. @a7ex up to you to close or keep this issue open for further investigation.
from xcresultparser.
Thanks @alexzagu I'll close this ticket
from xcresultparser.
Related Issues (12)
- Ignore directories/files? HOT 5
- Binaries attached to releases HOT 15
- "--project-root" seems to be case sensitive when used while generating coverage HOT 5
- Json format output HOT 4
- Skipped tests shows as failed in txt results HOT 5
- Wrong calculation of failed tests in txt results HOT 2
- Corrupted data in txt results if run UI tests simultaneously on two devices HOT 5
- fullpath is not shown in xml HOT 10
- Why need to get the dtd file by visiting http://cobertura.sourceforge.net ? HOT 2
- Any chance of getting xcresultparser on brew? HOT 2
- Markdown formatting on github will display `<span>` tags HOT 1
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 xcresultparser.