-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Can't run app after installing from .dmg #377
Comments
Since 3.14.0 we use the same package to sign app as electron-packager. So, must be no difference. Please specify electron-builder version. How do you specify your identity? |
FYI: our CI tests pass and my app works. I use RB App Checker Lite to verify. |
Thanks for the quick response. I'm using 3.17.0 and I've tested with both the CSC_NAME and the build.osx.identity. Using RB App Checker Lite, I get the same error message:
I downloaded your app and compared the output of RB App Checker, and it seems that the only difference is in the auxiliary executables: Yours:
Mine:
Of the 4 unsigned executables is Squirrel.framework/Versions/A/ShipIt which is similar to the resources altered error on Squirrel.framework/Versions/Current/Resources/ShipIt. Oddly though, checking my app built with electron-packager also shows that 11 executables are signed, so maybe that's unrelated to this issue. |
Reproduced. Will be fixed tomorrow. Have no idea why tests passed, but real app verification is broken. Please try version to "3.14.0" as a temp workaround (I guess regression was since 3.15) |
I just tested with 3.14.0 and it worked perfectly. Thanks for help and quick responses! |
v3.17.1 will be in 30 minutes if tests passed. Thanks! Test suite will be modified to catch such errors later (on weekend). |
I am having issues installing the .dmg after downloading it. Following the instructions, I've been able to build and sign the app without any issues. When installing it locally or physically transferring the .dmg, it can install with no issues.
However, after uploading it and then downloading it from another computer, I get the following error whenever I try to run the application after installing it:
"MyApp" is damaged and can't be opened. You should move it to the Trash.
If I set my Gatekeeper settings to allow apps from anywhere, it runs without a hitch. After doing some digging, I think the problem is somehow related how the app is signed.
Running
codesign --verify --verbose "MyApp.app"
I get:However
codesign --verify --verbose --deep "MyApp.app"
gets me:spctl --verbose --assess --type execute -v "MyApp.app"
returns a similar error.Building the .app with electron-packager seems to be okay though:
I am distributing for outside the App Store. So far, I haven't really been able to find any solutions. Am I missing anything? Thanks!
The text was updated successfully, but these errors were encountered: