-
Notifications
You must be signed in to change notification settings - Fork 96
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
codesign failed 'No such file or directory' #161
Comments
electron-osx-sign version is 0.4.7, and my computer is macOS High Sierra(10.13.2) I'm hitting this same problem... I'm on the latest electron-build release! Removing strict seems to work for me... Have you found a fix yet? |
@ZackMattor I am not fixed yet. I removed strict option to make sure the app can build. |
This could be related to issue #155 due to the new file system on macOS? |
@sethlu Is it possible to be the Chinese character's problem? |
@isNeilLin I’m not very sure... From the debug log, it looks like that the app is successfully signed but having some issue while verifying the code signature. Let me try to reproduce this issue with a same app name. |
@isNeilLin I'm having a little difficulty reproducing the issue. Do you have a hexadecimal representation of the string "快乐码字" that's failing the verification? |
@sethlu sorry, I'm not very clear what's your mean. Could you tell me what do I need to do? |
I am having the issue without any Chinese characters in my project. Removing the |
@isNeilLin Since the step is failing at the verification, does manually retrying the step work with the following examples?
If in the second case @ZackMattor is there any non-ascii character in the path to the application being signed? Or was |
@sethlu In first case it's OK, but in second case it still complains about the inexistent of file/directory. And I am already updated Xcode command line tools to the last version. |
@isNeilLin Thanks for the feedback! One reason that May you help verify if the following does the job? codesign --verify --deep --strict --verbose=2 /Users/neil/Documents/快乐码字/happy/dist/osx/mac/快乐码字4.0.app |
@isNeilLin In that case I guess it doesn't matter much where |
@isNeilLin Sorry for the wait... 17d4084 should be able to address this issue now. @ZackMattor Feel free to file a new issue if this doesn't fix the issue you had. |
@isNeilLin |
OK, I am update to |
@sethlu Thanks so much! And yes, set |
@develar Could you please release electron-builder with dependency version of electron-osx-sign set to 0.4.8? Thanks. |
I do not have any non-ascii chars in my file path... but the |
electron-osx-sign version is 0.4.7, and my computer is macOS High Sierra(10.13.1)
I tried remove "--strict",and it works.
I noticed that '--strict' flag was passed in macOS El Capitan and above since 0.4.3. I wonder to know what this is for.
Here is log:
The text was updated successfully, but these errors were encountered: