GithubHelp home page GithubHelp logo

Comments (14)

squarefrog avatar squarefrog commented on July 20, 2024

We're getting the same issue. Just started today.

from xcresultparser.

squarefrog avatar squarefrog commented on July 20, 2024

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.

a7ex avatar a7ex commented on July 20, 2024

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.

squarefrog avatar squarefrog commented on July 20, 2024

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.

hisaac avatar hisaac commented on July 20, 2024

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.

a7ex avatar a7ex commented on July 20, 2024

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.

hisaac avatar hisaac commented on July 20, 2024

@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.

squarefrog avatar squarefrog commented on July 20, 2024

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.

a7ex avatar a7ex commented on July 20, 2024

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.

a7ex avatar a7ex commented on July 20, 2024

xcresultparser.zip

Freshly built and notarized

from xcresultparser.

hisaac avatar hisaac commented on July 20, 2024

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.

alexzagu avatar alexzagu commented on July 20, 2024

@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.

alexzagu avatar alexzagu commented on July 20, 2024

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.

a7ex avatar a7ex commented on July 20, 2024

Thanks @alexzagu I'll close this ticket

from xcresultparser.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.