-
Notifications
You must be signed in to change notification settings - Fork 43
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 no longer create macOS universal binary with @castlabs/electron-releases #111
Comments
Interesting find. My current hunch is that this has something to do with the recent Xcode update that was installed on the macOS build machine, but I can't say for sure yet. In any case, the files are essentially identical. What appears to have happened AFAICT is that the same data has been encoded differently into the NIBArchive structure stored in the I'll try to investigate this further to see if we can do something at build time to make work as intended. |
I can confirm that This appears to be non-derermenistic for the |
Thank you for looking into this! Is it possible for you to update the files on your end? |
Not for this release, no, but I'll see if we can figure something out for upcoming releases. I can't say for sure exactly when it will happen though, so in the mean time you would need to use the workaround I suggested. I'd actually argue that |
Sadly we have the same problem with a different file. We tried every binary from 15.x up to the latest release:
|
@sulf, check this comment out. In short, the Edit: Ideally some kind of mechanism for creating actions on a per file-type or path could be added to @electron/universal, which would allow easier handling of cases like this. I've been playing with some ideas around that but I've not had time to realize anything and submit a PR. |
@khwaaj nice! Just kicked off a build with this to try. My understanding was that on macOS we need to use EVS to re-sign before we sign with the apple certificate? We're using electron-builder and I'm not sure where to plug the signing in. Currently I have the EVS signing in |
Yes, you are right. And using |
@khwaaj Sadly The biggest issue we're having right now is that we cannot rebuild with |
Well, that is a bummer. I actually never tested this with an universal build, so you would know better than I. It seems an Unfortunately we don't really have the resources to maintain compatibility with every type of setup out there, but for |
Yeah, our team is preparing a PR for it. I'm sure they just forgot about it. No need to change
Looks like that's picked up by |
This is still a problem for me. I am using Electron 18.0.4 and Xcode 13.3.1. Will there be a patch coming to Electron or Builder? I have updated Electron-builder to the latest version. |
Might be a silly question but I am new to Mac - where would I locate the nib files? I have searched everywhere:( |
The resulting NIB is generated in |
I can confirm this was resolved in electron-builder 23.0.4. All good now. |
Any idea how to solve this on electron-builder 23.3.3, kinda blocking our release now. |
What exact issue are you referring to, the NIB problem or the signature file? If it is the NIB issue it was fixed by electron-builder upstream, but maybe there has been a regression. |
Getting the following while building a universal app with the newest release of Electron for CS.
|
Yeah, that is because the included VMP signature files are created separately for |
a little tips for Electron Forge users who wants to have DRM and sign universal but make sure that their non universal build is not failing as well do your macos normal arch x64 and arm64 inside the and the universal inside do the
Because of the strcuture of the universal inside the |
I received this error when building macOS universal binary with @castlabs/electron-releases v15.2.0
I checked the path,
Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/MainMenu.nib
in the[email protected]
and@castlabs/[email protected]
is a file but is a directory in@castlabs/[email protected]
with two files:keyedobjects.nib
andkeyedobjects-101300.nib
.Is there a way to fix this?
The text was updated successfully, but these errors were encountered: