I have successfully notarized App.dmg file with the status "success" on macOS 10.13.6.
The "ticketContents" contains the following entries:
path = App.dmg
path = App.dmg/App.pkg
path = App.dmg/App.pkg/app.pkg Contents/Payload/Applications/App.app
path = App.dmg/App.pkg/app.pkg Contents/Payload/Applications/App.app/Contents/MacOS/App
path = App.dmg/RunApp.app
path = App.dmg/RunApp.app/Contents/document.wflow
path = App.dmg/RunApp.app/Contents/MacOS/Application Stub
... and similar ones.
When I run
The file App.dmg was not changed after staple, I checked md5 sums of both files.
The .dmg file was create as UDBZ file format. App.pkg was created with AuxiliaryTools/PackageMaker.app.
How can I fix it?
The "ticketContents" contains the following entries:
path = App.dmg
path = App.dmg/App.pkg
path = App.dmg/App.pkg/app.pkg Contents/Payload/Applications/App.app
path = App.dmg/App.pkg/app.pkg Contents/Payload/Applications/App.app/Contents/MacOS/App
path = App.dmg/RunApp.app
path = App.dmg/RunApp.app/Contents/document.wflow
path = App.dmg/RunApp.app/Contents/MacOS/Application Stub
... and similar ones.
When I run
Code Block xcrun stapler staple App.dmg
I receive the error 73:Processing: App.dmg
Processing: App.dmg
Although we wrote the ticket, the written data did not validate. Please restore App.dmg from backup to try again.
The staple and validate action failed! Error 73.
The file App.dmg was not changed after staple, I checked md5 sums of both files.
The .dmg file was create as UDBZ file format. App.pkg was created with AuxiliaryTools/PackageMaker.app.
How can I fix it?