I'm having a problem with codesign for output from Pyinstaller
The files are in ~/PycharmProjects/ALP_Document_Factory_II
That folder contains the icon file, the entitlement file, and also contains a "dist" folder where Pyinstaller places the app file (ALP_Document_Factory_II.app)
The generated app works and runs when I double click it.
When I run codesign:
codesign -s xxxxxxxx -f --entitlements entitlements.plist -o runtime dist/ALP_Document_Factory_II.app
("xxxxxxx" is where I place the hash of my credential)
I get the following error message: No such file or directory
Here is the Terminal copy... minus my Hash
dickl45@Dicks-iMac3 ALP_Document_Factory_II % codesign -s xxxxxxxxxx -f --entitlements entitlements.plist -o runtime dist/ALP_Document_Factory_II.app dist/ALP_Document_Factory_II.app: No such file or directory
Earlier I was able to use codesign and notarytool, but I must be doing something wrong that I can't see.
Yours baffled
MacOs 15.2
Thanks for that. I downloaded your app and was able to sign it just fine:
% sw_vers
ProductName: macOS
ProductVersion: 15.2
BuildVersion: 24C101
%
% codesign -s - -f "ALP_Document_Factory_II .app"
ALP_Document_Factory_II .app: replacing existing signature
The one thing I noticed is that your app name contains weird characters. Note the ‘gaps’ in the shell completed name above. Now consider this:
% ls | xxd
00000000: 414c 505f 446f 6375 6d65 6e74 5f46 6163 ALP_Document_Fac
00000010: 746f 7279 5f49 49c2 a0c2 a02e 6170 700a tory_II.....app.
00000020: 414c 505f 446f 6375 6d65 6e74 5f46 6163 ALP_Document_Fac
00000030: 746f 7279 5f49 49c2 a0c2 a02e 7a69 700a tory_II.....zip.
Each c2 a0 sequence is a U+00A0 NO-BREAK SPACE. Did you add those deliberately? If not, I recommend that you remove them.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"