i tested myapp.app file with the "spctl -a -v myapp.app" option.
and this is result
myapp.app :accepted
source=Notarized Developer ID
But when i distribute it as a dmg file myapp.app to myapp.dmg, myapp.app is damaged and it doesn`t work.
i tested myapp.dmg file with the "spctl -a -vvv myapp.dmg" option
myapp.dmg: rejected
source=Unnotarized Developer ID
origin=Developer ID Application: mycompany (myteam ID)
what should i fix before distribute my app?
I did codesign on myapp.dmg file. this is the result after doing it.
I’m not sure if this is your only problem, but you’re doing the assessment on your disk image incorrectly. Try this:
$ spctl -a -t open --context context:primary-signature -v /path/to/disk.dmgShare and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"