-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac Os (MAS) sandbox build freezes after being code-signed - The <app> Helper.app #87
Comments
@screenmeet I missed "electron-builder: 3.10.9" — please use latest version, 3 is outdated. |
What is the latest? This is what the default npm install gave me... |
7.11.4 is the latest release. |
Ok, it was with the latest, I made a mistake. That was my npm version. My electron-osx-sign is 7.11.4. |
Hi @screenmeet, sorry for my late reply. Below are some suggested changes I have...
<?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>
<?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 "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 |
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. |
@screenmeet oh great! Just to clarify... <?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> |
OS: 10.11.6
electron-builder: 7.11.4
npm: 3.10.9
electron: 1.4.2
Mac App store
As soon as the mac app-store built is signed, when the app is launched, it freezes, particularly, the BrowserWindow.
After doing a lot of digging, I've narrowed the issue to the Helper.app being signed. As soon as that's signed - problem.
Please help. I spent many hours yesterday of banging my head against the wall until 3 am until I gave up. Maybe something is wrong with my entitlements?
I made a very basic "hello world" app to do the testing.
Here is my child.plist
parent.plist:
build section from my package.json:
And finally, the build output:
The text was updated successfully, but these errors were encountered: