You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/01/21 18:53:42 UTC

[GitHub] [cordova-electron] KinanKazmi edited a comment on issue #176: Invalid signing for Cordova-electron-Mac build

KinanKazmi edited a comment 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.
   [Entitlements-Release.txt](https://github.com/apache/cordova-electron/files/5851475/Entitlements-Release.txt)
   
   
   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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org