Notarisation for dummies
-
@d-healey yes, I've got all of this. I was just ensuring the unique code only had to be unique to your developer account/company and not unique to all other AUs on the machine...
I guess I should mention I've got everything signed and notarized. I'm just trying to figure out auval to add to the "Apple Process" if you will...
-
Hi guys, experiencing a really weird issue with Terminal when notarising. Codesigning all fine btw.
so I go to notarise and Terminal says it can't find my file, but when it reads back the file's location there's a 'U201c' in front of my path. So now the path is like:
NSLocalizedFailureReason = "The file '\U201cUsers/UnsignedPlugins/myplugin\n\nxcrun altool --notarize-app --primary-bundle-id com.me.HPRE --username me@mail.com --password **hidden value** --file \U201cUsers/UnsignedPlugins/installer.pkg' cannot be found.";
I'm so baffled! Worked fine a couple of days ago. Anyone come across this?
-
@DanH Check the file path with
\
or/
question :) macOS uses/
for folders -
@orange how do I do that?
-
@DanH What is the location of your pkg installer?
-
@orange Users/UnsignedPlugins/Installer.pkg
-
@DanH I posted a script on Patreon a few weeks ago that will do the notarizing for you.
-
@orange For example if the file location is:
Volumes > Folder A > Signed Installers > MyInstaller_v1.1.0.pkg
Then the file path will be this on macOS:
"/Volumes/Folder A/Signed Installers/MyInstaller_v1.1.0.pkg"
But you've used also
\
which shouldn't be used here -
But you've used also
\
which shouldn't be used hereI haven't, it's just appeared in the error. The path and the command is fine. I've been using it for a year. I think my Terminal is messed up. I just got this error:
*** Error: Failed to get transporter defaults file 'https://contentdelivery.itunes.apple.com/transporter/Defaults.properties': Error Domain=NSCocoaErrorDomain Code=256 "The file “Defaults.properties” couldn’t be opened." UserInfo={NSURL=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSUnderlyingError=0x6000020a8210 {Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x60000208ef70 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSErrorFailingURLKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, NSErrorFailingURLKey=https://contentdelivery.itunes.apple.com/transporter/Defaults.properties, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}}}
-
@DanH It's weird then
-
@orange oh ffs a single " was the wrong type of ".... Not sure how that got in there!
-