When I notarize one of my apps, some members of the app package produce a warning saying "ditto: Couldn't read pkzip local header". These files do NOT have a .zip extension, but are a modified kind of zip archive. Why is the notarization server trying to look inside them? If I changed the file format further so that they couldn't be recognized as zip archives, would that make notarization "happy"?
As I understand it, notarization warnings are likely to become errors in January, so I'd like to get this sorted out.
It's a custom installer.
OK. We have specific advice on that topic in Customizing the Notarization Workflow (search for “custom third-party installer”). This advice is based on the assumption that the notary service can’t ‘see’ inside the custom installer format. So, you have two paths you could take here:
You could notarise the contents of these zip archives and then further obscure them to avoid them being seen by the notary service.
You could switch to using standard zip archives, which would avoid the need for notarising them independently. The notary service would look inside the zip archives and include all of that code in your main app’s ticket.
I think either is valid. The most critical thing here is that, when all is said and done, the notary service must see all your code.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"