I’ve got some customers complaining that my app isn’t signed. But I have certificates and apply them. Before releasing my app I make sure that the certificates did their thing:
codesign -dvvvv /Users/beatrixwillius/Documents/\ Datei/Development/Mail\ Archiver\ old\ versions/Mail\ Archiver\ X\ 3.1\ beta\ 8/Mail\ Archiver\ X.app
Executable=/Users/beatrixwillius/Documents/ Datei/Development/Mail Archiver old versions/Mail Archiver X 3.1 beta 8/Mail Archiver X.app/Contents/MacOS/Mail Archiver X
Identifier=com.mothsoftware.mailarchiverx
Format=bundle with Mach-O thin (i386)
CodeDirectory v=20200 size=111414 flags=0x0(none) hashes=5563+3 location=embedded
Hash type=sha1 size=20
CDHash=252fe6066431a11a90c182b184b6183ead98441d
Signature size=4342
Authority=3rd Party Mac Developer Application: Beatrix Willius
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=14.07.2014 07:54:33
Info.plist entries=15
TeamIdentifier=72695Z3887
Sealed Resources version=2 rules=12 files=789
Internal requirements count=1 size=200
So why do customers complain that the app isn’t signed? The setup is a bit more complicated because I have a helper app, a main app and an installer I did myself. But I use the same build scripts for all apps:
dim AppLocation as String = CurrentBuildLocation + “/” + getShellString(CurrentBuildAppName) + “.app”
dim cmd as String = "codesign -f --deep -s ‘3rd Party Mac Developer Application: Beatrix Willius’ " + AppLocation
dim theOutput as string = doShellCommand(cmd)
if theOutput <> “” then print theOutput
function getShellString(theString as String) as string
Return ReplaceAll(theString, " ", "\ ")
end Function
What is going on?