Giter VIP home page Giter VIP logo

Comments (7)

develar avatar develar commented on May 19, 2024

@screenmeet I missed "electron-builder: 3.10.9" — please use latest version, 3 is outdated.

from osx-sign.

 avatar commented on May 19, 2024

What is the latest? This is what the default npm install gave me...

from osx-sign.

develar avatar develar commented on May 19, 2024

7.11.4 is the latest release.

from osx-sign.

 avatar commented on May 19, 2024

Ok, it was with the latest, I made a mistake. That was my npm version. My electron-osx-sign is 7.11.4.

from osx-sign.

sethlu avatar sethlu commented on May 19, 2024

Hi @screenmeet, sorry for my late reply. Below are some suggested changes I have...

child.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>com.apple.security.app-sandbox</key>
    <true/>
    <key>com.apple.security.inherit</key>
    <true/>
  </dict>
</plist>

parent.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>com.apple.security.app-sandbox</key>
    <true/>
    <key>com.apple.security.network.client</key>
    <true/>
    <key>com.apple.security.application-groups</key>
    <array>
      <string>U3AQW9824Q.com.projector.screenmeet.testbuild</string>
    </array>
  </dict>
</plist>

Build section from package.json:

  "build": {
    "appId": "com.projector.screenmeet.testbuild",
    "asar" : false,
    "mac": {
      "target" : "mas",
      "category": "public.app-category.productivity",
      "identity" : "U3AQW9824Q"
    },
    "mas" : {
      "identity" : "U3AQW9824Q",
      "entitlements": "parent.plist",
      "category": "public.app-category.productivity",
      "entitlementsInherit": "child.plist"
    }
  },

@develar I'm not exactly sure (without digging electron-builder references) how the package.json works with your maintaining module :/ But @screenmeet let me know if it helps. 😸

from osx-sign.

 avatar commented on May 19, 2024

Thanks guys, I figured it out. The problem was being caused by the "entitlementsInherit" property in the "mas" section. After I removed it everything worked fine.

from osx-sign.

sethlu avatar sethlu commented on May 19, 2024

@screenmeet oh great! Just to clarify... entitlementsInherit defaults to the plist something like here:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>com.apple.security.app-sandbox</key>
    <true/>
    <key>com.apple.security.inherit</key>
    <true/>
  </dict>
</plist>

from osx-sign.

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.