osx-sign icon indicating copy to clipboard operation
osx-sign copied to clipboard

Unsigned library dependencies

Open pedrumgolriz opened this issue 3 years ago • 0 comments
trafficstars

Electron: ~10.3.1 OS: Mac OS 12.5

I have an app in the Mac Store. I changed computers recently, and I cannot update the app. I have been trying for weeks now to sign the application to no avail. Currently, the signing is going correctly. However, when I go to flatten it to a pkg for upload via Transporter, I get the following error:

Asset validation failed (90296) App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list: [( ".../Frameworks/Electron Framework.framework/Versions/A/Helpers/chrome_crashpad_handler", "../Frameworks/Squirrel.framework/Versions/A/Resources/ShipIt", "../Frameworks/xxxyyyyyxxxxx Helper (GPU).app/Contents/MacOS/xxxyyyyyxxxxx Helper (GPU)", "../Frameworks/xxxyyyyyxxxxx Helper (Plugin).app/Contents/MacOS/xxxyyyyyxxxxx Helper (Plugin)", "../Frameworks/xxxyyyyyxxxxx Helper (Renderer).app/Contents/MacOS/xxxyyyyyxxxxx Helper (Renderer)", "../Frameworks/xxxyyyyyxxxxx Helper.app/Contents/MacOS/xxxyyyyyxxxxx Helper", "../xxxyyyyyxxxxx.app/Contents/MacOS/xxxyyyyyxxxxx" )]

I am using the CLI to sign and flatten the package using two commands after running electron:pack "osx-sign": "electron-osx-sign dist/mac/myapp.app --entitlements-inherit='build/entitlements.mas.inherit.plist' --provision-profile=embedded.provisionprofile --identity="Apple Distribution: My LLC Company (abc123xyz)"",
"osx-flat": "electron-osx-flat dist/mac/myapp.app --entitlements-inherit='build/entitlements.mas.inherit.plist' --provision-profile=embedded.provisionprofile --identity="3rd Party Mac Developer Installer: My LLC Company (abc123xyz)"",

Am I missing something? I've tried all the signing methods, this is the only one that produces one error. If I try to add an entitlements.plist (parent), then the app wont run. Any help would be extremely helpful!

pedrumgolriz avatar Oct 09 '22 13:10 pedrumgolriz