KinanKazmi commented on issue #176:
URL: 
https://github.com/apache/cordova-electron/issues/176#issuecomment-764861878


   Hi @Jahrenski !
   Basically, you need to have `com.apple.security.app-sandbox` in your 
entitlements files.
   This is how i did it.
   Create 2 files with these names.
   
   1- Entitlements-Release-Inherit.plist
   2- Entitlements-Release.plist
   
   copy paste this code in both files.
   
   `<?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.cs.allow-jit</key>
       <true/>
       <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
       <true/>
       <key>com.apple.security.cs.allow-dyld-environment-variables</key>
       <true/>
   </dict>
   </plist>`
   
   then in your build.json , add path to entitlements and entitlementsInherit.
   e.g. my build.json is
   
   `"signing": {
               "release": {
                 "identity": MYCOMPANYANDLISCENSE,
                 "entitlements": "Entitlements-Release.plist",
                 "entitlementsInherit": "Entitlements-Release-Inherit.plist",
                 "provisioningProfile": "MYPROVISIONINGPROFILENAME"
               }
           }`
   and i've placed it in the same folder with my main build.json file. With 
this, you will stop getting the error for sandbox. I still have the other 2 
errors.
           
   For the icon issue, i searched the github code and found that the 
"installer.png" is hardcoded in their build code, so you cant do anything about 
that (unless you change their build code).
   
   For signing certificates, i have no clue. Technically it needs multiple 
signings. Cordova code, electron code and your code, all needs to be signed by 
your profile and the 3rd party (cordova and electron) profiles. So its broken.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to