Had to completely reinstall my hard disk and now I’m trying to remember how to set up code signing. I’ve managed to confirm the latest version of Apple’s legalese. Then I downloaded and double-clicked the certificates.
Now I’m getting “no identity found” when trying to sign.
Is there anything else I need to do except download and double-click the certificates?
Here is the main part of the code signing code:
[code] dim appCodeSignature as String = “Developer ID Application: Beatrix Willius”
dim installerCodeSignature as String = “Developer ID Installer: Beatrix Willius”
// Begin cleaning up the permissions
call execute("/bin/chmod -RN " + appPath, "Resetting Permissions")
call execute("/bin/chmod -R 755 " + appPath, "Resetting Permissions")
// Touching the file....
call execute("/usr/bin/touch -acm " + appPath, "Touching the app")
// Begin Codesigning the application
Try
call DoShellCommand("/usr/bin/codesign -f -s '" + appCodeSignature + "' " + appPath + "/Contents/Frameworks/*.dylib")
call DoShellCommand("/usr/bin/codesign -f -s '" + appCodeSignature + "' " + appPath + "/Contents/Frameworks/XojoFramework.framework/Versions/A/XojoFramework")
call DoShellCommand("/usr/bin/codesign -f -s '" + appCodeSignature + "' " + appPath + "/Contents/Frameworks/XojoFramework.framework")[/code]