Hi,
I have notarized the dmg which has a .app inside. After that I stapped the dmg.
xcrun stapler staple ~/Desktop/Packages/Notarize/***.dmg
Processing: /Users/***/Desktop/Packages/Notarize/***.dmg
Processing: /Users/***/Desktop/Packages/Notarize/***.dmg
The staple and validate action worked!
I verified the dmg and app with following command.
App verification
spctl -vvv --assess /Volumes/***/***.app/
/Volumes/***/***.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: *** Inc (xxxx)
dmg verification:
spctl -a -t open --context context:primary-signature -v /Users/***/Desktop/Packages/Notarize/***.dmg
/Users/***/Desktop/Packages/Notarize/fsm.dmg: accepted
source=Notarized Developer ID
After this I was able to open notarized downloaded dmg and run the application.
xcrun stapler validate <path to dmg> command shows the it is valid
Processing: /Users/***/Desktop/Packages/Notarize/***.dmg
The validate action worked!
But xcrun stapler validate <path to app> command shows the following message:
Processing: /Volumes/***/***.app
***.app does not have a ticket stapled to it.
Could you please help me why stapler command shows no ticket is associated with app? Do I need to staple the ticket with .app as well? or we need to send induvidual applications in package for Notarization? What is the recommentation from Apple? Our package 15 apps.
regards
PK