ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
342 stars 36 forks source link

py2app 0.28.2 code signing failure #455

Closed hasii2011 closed 2 years ago

hasii2011 commented 2 years ago

Looks like py2app is internally signing libraries.

Nevertheless, I am upgrading my app to python 3.9.9. I am getting this error:

PyUt/dist/Pyut.app/Contents/MacOS/Pyut: replacing existing signature
PyUt/dist/Pyut.app/Contents/MacOS/Pyut: invalid or unsupported format for signature
In subcomponent: PyUt/dist/Pyut.app/Contents/Frameworks/liblzma.5.dylib
PyUt/dist/Pyut.app/Contents/MacOS/Pyut: replacing existing signature
PyUt/dist/Pyut.app/Contents/MacOS/Pyut: invalid or unsupported format for signature
In subcomponent: yUt/dist/Pyut.app/Contents/Frameworks/liblzma.5.dylib

However, it now looks like py2app's code signing is failing. Any ideas why?

hasii2011 commented 2 years ago

Curious; Even though does not sign, it can execute local; I sign it via my instructions; However, from Apple notarization fails for this reason:

    {
      "severity": "error",
      "code": null,
      "path": "Pyut.zip/Pyut.app/Contents/Frameworks/liblzma.5.dylib",
      "message": "The signature of the binary is invalid.",
      "docUrl": null,
      "architecture": "arm64"
    },

on the same library

I think that library came from my home-brew installation

hasii2011 commented 2 years ago

Switched to python 3.10 with wxPython 4.2.0; Error changed to:

StraightShooter 1

hasii2011 commented 2 years ago

Same problem I have had in the past