#Error when code signing: code has no resources but signature indicates they must be present

2 messages · Page 1 of 1 (latest)

pastel kraken
#

I am relatively new to code signing macOS apps but I have gone through all the configuration steps I could find to make this work.

I created an application using the forge-vite template from the docs.

Application works as expected in development mode.

The only config changes I made were to add the osxSign properties and osxNotarize properties for my specific application for my forge config file. When I try to run package I get the following error:

Error: Failed to codesign your application with code: 1
code has no resources but signature indicates they must be present

Not sure what to do and I have been trying to figure it out for a while. Any help is appreciated

wintry lark
#

Hey! I’m happy to help. If you can share your setup that would be great. Also checkout how we do signing on my app:
Here’s the repo: https://github.com/MintterHypermedia/mintter
the app is in /frontend/apps/desktop

And this is the gh action we use to build the app: https://github.com/MintterHypermedia/mintter/blob/main/.github/workflows/desktop-release.yml#L99

GitHub

Mintter: an app for knowledge communities. Powered by the Hypermedia protocol. - MintterHypermedia/mintter

GitHub

Mintter: an app for knowledge communities. Powered by the Hypermedia protocol. - MintterHypermedia/mintter