-
Notifications
You must be signed in to change notification settings - Fork 154
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
Failed to compile on Ubuntu: Invalid PNG signature.
#889
Comments
Hmm, how did you generate the icon? Can you regenerate it? Or maybe try some other tool to create/convert it? This error (according to google etc) should only happen when the file is actually corrupt. |
Still the same error. I'll try to just include the main icons and see how it goes. |
And it's still the same error. I've no idea what's happening. I'll try to change the icons. |
Can you share one of the broken icons? Or at least tell us how you generated them? Also it may be interesting to see if the |
If you ran At first glance the icon you posted seems to be fine so it hopefully is really just the |
Ok, i have completely replace the icon with a new one, and it sill the same error. This is really frustrating. I used
|
I don't know what the cause could be then tbh. Does it fail with the default icons too? (create a new app with create-tauri-app and copy over the icons) Is your repo public? I didn't have the time to try your icons posted here myself yet but i'll try to take some time for it tomorrow. |
I'll try that. Thanks for being responsive. |
I updated our app to use Tauri v2, now all platfroms are failing with the same PNG invalid signature errors. Do we need to set environment variables to production for |
I use the default icons generated by the create-tauri-app and they're still failing. |
Apple M1 Pro, macOS Sonoma 14.7 |
Windows build is succeed. |
Ok, we found the problem: git lfs. I forgot to setup the checkout action to pull the files. |
Ubuntu compilation failed with this error:
A simple error give result about ffmpeg but we don't use it and we couldn't find similar problem tauri related. Any pointers?
The text was updated successfully, but these errors were encountered: