首页 文章

我如何知道我的OS X应用程序使用哪个Gatekeeper签名?

提问于
浏览
4

来自Apple最近的一篇文章:

随着OS X Mavericks 10.9.5的发布,OS X识别签名应用程序的方式将发生变化 . 使用OS X Mountain Lion 10.8.5或更早版本(v1签名)创建的签名将被废弃,Gatekeeper将不再识别它们 . 用户可能会收到Gatekeeper警告,并且需要免除您的应用继续使用它 . 为了确保您的应用程序在OS X的更新版本上运行时没有警告,它们必须在OS X Mavericks 10.9或更高版本(v2签名)上签名 .

我怎么知道我的应用程序是否需要辞职?

1 回答

  • 5
    $ codesign -dv Foo.app
    Executable=/Applications/Foo.app/Contents/MacOS/Foo
    Identifier=com.example.Foo
    Format=bundle with Mach-O thin (x86_64)
    CodeDirectory v=20100 size=915 flags=0x200(kill) hashes=37+5 location=embedded
    Signature size=4169
    Info.plist entries=30
    TeamIdentifier=not set
    Sealed Resources version=1 rules=5 files=33 // ⬅︎ this is the line
    Internal requirements count=1 size=228
    

    有关详细信息,请参阅Technical Note TN2206,OS X代码深度签名 .

相关问题