Giter Site home page Giter Site logo

Comments (6)

willemdjong avatar willemdjong commented on August 23, 2024 1

@reddybhavanish we encountered a similar issue with electron-builder, which uses node-gyp. By overriding the node-gyp version, we were able to resolve our problem with electron-builder. While I can't guarantee this is the exact issue you're facing, you might want to try the same approach. Overriding node-gyp shouldn't break electron-builder, but please note that it will affect all packages that depend on node-gyp.

from electron-builder.

willemdjong avatar willemdjong commented on August 23, 2024

Exact same issue here ! Signing and notarization have been successful but unidentified developer after downloading and installing the app on mac.

from electron-builder.

mmaietta avatar mmaietta commented on August 23, 2024

@reddybhavanish it sounds like you are notarizing the application twice with the notarize.js and adding the notarize: { ... } in your electron-builder config. Can you please try using only one approach and write back?

from electron-builder.

reddybhavanish avatar reddybhavanish commented on August 23, 2024

Hey @mmaietta thanks for the reply, i tried as you said and removed "build": {
...
"mac": {
...
"notarize": {
"teamId": "YOUR_TEAM_ID_HERE"
}
}

from the package.json and verified whether the artifact is notarized or not with this command spctl -a -vv "path/to/output-directory/YourAppName.dmg" it showed rejected status, while in the log it showed notarization successful.

from electron-builder.

willemdjong avatar willemdjong commented on August 23, 2024

Hi,

We've experienced similar issues as mentioned in the previous posts, despite our notarization being successful.

To check the status of our app, we used the following command:

syspolicy_check distribution <AppName.app>

This morning, we discovered problems related to node-gyp and dynamic libraries. Fortunately, the issue has been resolved in a new version of node-gyp. We recommend using node-gyp 10.1.0. Since electron-builder uses an older version, the issue persists.

To fix this, you can override the node-gyp version in your packages by adding the following to your package.json:

"overrides": {
    "node-gyp": "10.1.0"
  }

We hope this resolves the issue for you as well.

from electron-builder.

reddybhavanish avatar reddybhavanish commented on August 23, 2024

Hey @willemdjong , we are not using any such dependency like node-gyp in our project. Do you recommend me using this ? if so what exactly does this do? please throw some light on this.

from electron-builder.

Related Issues (20)

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.