I've used PyInstaller to create an arm mach-o of a "hello world" python file. I then tried to sign the file using codesign and got the following error:
When I create an x86_64 mach-o using the same method the codesign works without any issues.
I'm using an arm64 only python 3.9 and PyInstaller version 4.3
I've tried codesigning on both M1 and intel, and codesigning a "hello world" compiled from C file with gcc works.
Also, I've tried looking at the file compiled with PyInstaller using otool and haven't seen any issues.
Code Block language main executable failed strict validation
When I create an x86_64 mach-o using the same method the codesign works without any issues.
I'm using an arm64 only python 3.9 and PyInstaller version 4.3
I've tried codesigning on both M1 and intel, and codesigning a "hello world" compiled from C file with gcc works.
Also, I've tried looking at the file compiled with PyInstaller using otool and haven't seen any issues.