How to add codesigning to dmg file in mac

前端 未结 3 1997
礼貌的吻别
礼貌的吻别 2020-12-24 03:20

I have a dmg file in my portal.After downloading it,when i try to open it is showing a message indicating that opening package is insecure. i am able to add codesign through

3条回答
  •  庸人自扰
    2020-12-24 03:35

    There's 3 ways to do this. In the terminal on OS X 10.11.5 or newer. Note: you can code sign DMGs on earlier OS versions, however Sierra only likes them from 10.11.5 or newer.

    codesign --force --sign "Developer ID Application: " 
    

    Verification is done via (requires macOS Sierra).

    spctl -a -t open --context context:primary-signature -v 
    

    Araelium have updated DMG Canvas (v2.3), so it will code sign DMGs when it builds.

    DropDMG has been updated to code sign DMG image files too (v3.4).

    There's also (a tool I developed) called App Wrapper (3.6), which can code sign DMG files.

提交回复
热议问题