Post

Replies

Boosts

Views

Activity

Code signature (codesign) fail on arm compiled PyInstaller Mach-O
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: 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.
1
0
1.4k
May ’21
Network extension upgrade fail on Bug Sur (11.0.1)
I've encountered an issue, when a Network Extension that provides a mach service would sometimes fail after upgrade. The reason according to logs in system.log are that the old network extension didn't clean the mach service correctly, and then there is a conflict with the new version who tries to use the same mach service name. Worth mentioning that I'm using the provider system extension handler api (OSSystemExtensionRequest) to upgrade the extension, and that according to this API the extension did not need a reboot in order to complete the update. The only solution to this problem was rebooting the machine. Cheers, Ariel
3
0
513
Nov ’20