Having a hard time notarizing a pkg.

Hi,

I'm trying to notarize a .pkg but it doesn't work. I went true the same process with my .vst and I did not have any issues. And works fine on Catalina.

codesign -s "Developer ID Application: Brian D'Oliveira (---------)" -v “ABSOLUTEFILEPATH”;

xcrun altool --notarize-app -f "ABSOLUTEFILEPATH" --primary-bundle-id com.myCompany.product --username briandoliveira@me.com --password xxx-xxxx-xxxxx-xxx

it returns:
altool[1050:35166] No errors uploading “ABSOLUTEFILEPATH”

It usually works fine for .VST and .AU but with .pkg i always get a message from apple support that my .pkg was not notarized.

I tried to zip it but it also did not work.
I've noticed that when I run $ codesign -s "Developer ID Application: Brian D'Oliveira (---------)" -v “ABSOLUTEFILEPATH”;

it returns:
codesign -s "Developer ID Application: Brian D'Oliveira (4864XQ9JL3)" -v “ABSOLUTEFILEPATH.pkg”
“ABSOLUTEFILEPATH.pkg”: is already signed

BUT

when I run :
pkgutil --check-signature “ABSOLUTEFILEPATH.pkg

it returns :
Package "PackageName.pkg" : Status: no signature

It looks like you’re signing your package as code. That won’t work. You need to sign it as a package. My Signing a Mac Product For Distribution post has the relevant instructions.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Having a hard time notarizing a pkg.
 
 
Q