Comments (7)
@screenmeet I missed "electron-builder: 3.10.9" — please use latest version, 3 is outdated.
from osx-sign.
What is the latest? This is what the default npm install gave me...
from osx-sign.
7.11.4 is the latest release.
from osx-sign.
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.
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.
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.
@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)
- Impossible to update Mac Intel app HOT 1
- perFileOptions affect all of the files HOT 2
- MAS - Code Signature Invalid HOT 2
- It clones signing options for every file it signs HOT 4
- Sandbox entitlement leads to crash at launch HOT 2
- "Unidentified developer" when opening universal app HOT 11
- Unsigned library dependencies HOT 1
- Latest release (1.0.2) is broken: [FAILED] Cannot find module './sign' (ships only index.js, eg. sign.js is missing) HOT 4
- Electron-Fast Api App not working after signing HOT 1
- Bypass spctl check?
- Running electron-oxs-sign on MacBook Air (M2) prevent python from working thereafter HOT 2
- Cannot push to Appstore Connect
- Asset validation failed (90266) Install folder failed HOT 1
- Mac App Store refuses app via transporter HOT 11
- Signing fails in Yarn PnP environments HOT 3
- invalid destination for symbolic link in bundle HOT 1
- Hello world
- preAutoEntitlements are applied to wrong files (inherit files) and breaks Mac App Store build HOT 1
- Signed app crashing on arm64 HOT 1
- Default `embedded.provisionprofile` doesn't used in `signApplication` HOT 2
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 osx-sign.