Skip to content
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

macOS application from pkg crashes on launch because codesign #828

Closed
MichalMMac opened this issue Aug 20, 2018 · 10 comments
Closed

macOS application from pkg crashes on launch because codesign #828

MichalMMac opened this issue Aug 20, 2018 · 10 comments

Comments

@MichalMMac
Copy link

MichalMMac commented Aug 20, 2018

macOS version of RocketChat 2.12.1 from dmg works fine.
However pkg installer installs app which crashes during lauch probably because of codesigning related problem. See attached crashlog.

Exception Type:        EXC_CRASH (Code Signature Invalid)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace CODESIGNING, Code 0x1

Rocket.Chat+_2018-08-20-153426_HungryHippo.crash.zip

@tassoevan tassoevan self-assigned this Aug 20, 2018
@engelgabriel engelgabriel added this to the 2.13.0 milestone Aug 20, 2018
@engelgabriel
Copy link
Member

The last working version was before rocketchat-2.10.2.pkg

@engelgabriel
Copy link
Member

The Develop is also broken

image

@engelgabriel
Copy link
Member

engelgabriel commented Aug 22, 2018

Travis seems to be trying to upload the .pkg file twice

image

@tassoevan
Copy link
Collaborator

@engelgabriel

I didn't see the same error about unsigned pkg (probably because I was installing it via installer command in terminal), just the crash reported by @MichalMMac. It isn't the package file which is corrupted, but the Electron executable itself.

Also, the file name changed due to electron-builder fix for artifactName property (from rocketchat-${version} to Rocket.Chat-${version}. I saw this happening in Windows builds yesterday, I'm going to patch it.

@MichalMMac
Copy link
Author

I see the crash again with 2.13.1.

@tassoevan
Copy link
Collaborator

@MichalMMac Are you installing rocketchat-2.13.1.pkg or rocketchat-2.13.1-mas.pkg?

@tassoevan tassoevan removed this from the 2.13.0 milestone Sep 25, 2018
@MichalMMac
Copy link
Author

@tassoevan I am installing ocketchat-2.14.pkg. I looks it works OK. This issue can be probably closed.

@tjanson
Copy link

tjanson commented Dec 6, 2019

Just FYI: I upgraded to 2.17 (using the auto-updater, which prompted me) and it crashed with termination reason CODESIGNING. I did not keep a crash log or anything; I just downgraded to 2.16.2.

@tassoevan
Copy link
Collaborator

@tjanson What MacOS version are you running?

@tjanson
Copy link

tjanson commented Dec 6, 2019

@tassoevan latest Catalina: macOS 10.15.1 (19B88)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants